diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-03-08 10:46:41 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-03-08 10:46:41 +0000 |
commit | 2152bb48136d774bf36d0f25a5507d95c6d9cd8b (patch) | |
tree | feaad81221573824b1f7f230dde47ea58f37e267 | |
parent | ea25eab9171c08eded855de88f78088845d70db9 (diff) | |
download | gnutls-2152bb48136d774bf36d0f25a5507d95c6d9cd8b.tar.gz |
Add -no-undefined, for mingw32 builds.
-rw-r--r-- | lib/Makefile.am | 3 | ||||
-rw-r--r-- | libextra/Makefile.am | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 5138fe32c9..c7554cc6cb 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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@ diff --git a/libextra/Makefile.am b/libextra/Makefile.am index fc1fa833c0..53ee551d80 100644 --- a/libextra/Makefile.am +++ b/libextra/Makefile.am @@ -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 |