]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Use version script for libgnutlsxx too.
authorSimon Josefsson <simon@josefsson.org>
Mon, 25 Sep 2006 10:42:05 +0000 (10:42 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 25 Sep 2006 10:42:05 +0000 (10:42 +0000)
lib/Makefile.am

index 63574f2defc5b68a48e137dc5417ab6c3c6e8d53..00d92adb8a97a507365a91c9c955180f36e32a35 100644 (file)
@@ -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