From: Simon Josefsson Date: Mon, 25 Sep 2006 10:42:05 +0000 (+0000) Subject: Use version script for libgnutlsxx too. X-Git-Tag: gnutls_1_5_2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e59fb62c0066392efe4d2fb8d158dd0aa2c1827d;p=thirdparty%2Fgnutls.git Use version script for libgnutlsxx too. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 63574f2def..00d92adb8a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -129,12 +129,16 @@ AM_CXXFLAGS = -I$(top_srcdir)/includes/ lib_LTLIBRARIES += libgnutlsxx.la -libgnutlsxx_la_SOURCES = $(CPP_OBJECTS) +libgnutlsxx_la_SOURCES = $(CPP_OBJECTS) libgnutlsxx.vers libgnutlsxx_la_LDFLAGS = -no-undefined \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) libgnutlsxx_la_LIBADD = libgnutls.la + +if HAVE_LD_VERSION_SCRIPT +libgnutlsxx_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libgnutlsxx.vers +endif endif pkix_asn1_tab.c: pkix.asn