]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Add -no-undefined, for mingw32 builds.
authorSimon Josefsson <simon@josefsson.org>
Wed, 8 Mar 2006 10:46:41 +0000 (10:46 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 8 Mar 2006 10:46:41 +0000 (10:46 +0000)
lib/Makefile.am
libextra/Makefile.am

index 5138fe32c981d32343d176f1644d3b6c5eadca8a..c7554cc6cbe87dc888c4f3df3dd4989f3549981d 100644 (file)
@@ -97,7 +97,8 @@ HFILES = debug.h gnutls_compress.h defines.h gnutls_cipher.h          \
 libgnutls_la_SOURCES = $(HFILES) $(COBJECTS) $(SRP_COBJECTS)   \
        $(PSK_COBJECTS) gnutls.asn pkix.asn libgnutls.vers
 
-libgnutls_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libgnutls_la_LDFLAGS = -no-undefined \
+       -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 libgnutls_la_LIBADD = ../gl/libgnu.la x509/libgnutls_x509.la \
        @LTLIBZ@ $(LIBGCRYPT_LIBS) @LTLIBINTL@
index fc1fa833c03514dd3001e3aea6349a3e65f5671d..53ee551d806276cc8cf9ee98e30e67225c829c32 100644 (file)
@@ -1,5 +1,5 @@
 ## Process this file with automake to produce Makefile.in
-# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation
+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation
 #
 # Author: Nikos Mavroyanopoulos
 #
@@ -59,7 +59,7 @@ lib_LTLIBRARIES = libgnutls-extra.la
 
 libgnutls_extra_la_SOURCES = gnutls_extra.c
 
-libgnutls_openssl_la_LDFLAGS =
+libgnutls_openssl_la_LDFLAGS = -no-undefined
 
 # OpenSSL
 
@@ -83,7 +83,7 @@ endif
 # OpenPGP
 
 libgnutls_extra_la_LIBADD =
-libgnutls_extra_la_LDFLAGS =
+libgnutls_extra_la_LDFLAGS = -no-undefined
 if ENABLE_OPENPGP
 libgnutls_extra_la_SOURCES += gnutls_openpgp.c
 libgnutls_extra_la_LIBADD += openpgp/libgnutls_openpgp.la