diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-12-11 19:04:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-12-11 19:06:42 +0100 |
commit | 4ab5ad25891a68cd0ef30dcb923a2bea89df4982 (patch) | |
tree | 0903c619967d58b65c3fdf8fe28c86b058ffbe27 /guile | |
parent | 00979410bd06ae9e24383bcaccfe2383f85fe076 (diff) | |
download | gnutls-4ab5ad25891a68cd0ef30dcb923a2bea89df4982.tar.gz |
guile: Link with '-no-undefined'.
Fixes builds on MinGW.
Reported by Eli Zaretskii <eliz@gnu.org>.
* guile/src/Makefile.am (guile_gnutls_v_2_la_LDFLAGS): Add
-no-undefined.
Diffstat (limited to 'guile')
-rw-r--r-- | guile/src/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guile/src/Makefile.am b/guile/src/Makefile.am index d615e6da6a..41493192a3 100644 --- a/guile/src/Makefile.am +++ b/guile/src/Makefile.am @@ -35,7 +35,11 @@ BUILT_SOURCES = \ CLEANFILES = $(BUILT_SOURCES) guileextension_LTLIBRARIES = guile-gnutls-v-2.la -guile_gnutls_v_2_la_LDFLAGS = -module + +# Use '-module' to build a "dlopenable module", in Libtool terms. +# Use '-undefined' to placate Libtool on Windows; see +# <http://lists.gnutls.org/pipermail/gnutls-devel/2014-December/007294.html>. +guile_gnutls_v_2_la_LDFLAGS = -module -no-undefined # Linking against GnuTLS. GNUTLS_CORE_LIBS = $(top_builddir)/lib/libgnutls.la |