Skip to content
Snippets Groups Projects
Commit d02800290fd6 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

autotools: Link with -no-undefined

This catches errors earlier.
parent 68c239cc709f
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,8 @@
dynamic.c
libexslt_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(LIBXML_LIBS) $(EXTRA_LIBS) $(LIBGCRYPT_LIBS) $(LIBM)
libexslt_la_LDFLAGS = -version-info $(LIBEXSLT_VERSION_INFO)
libexslt_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
-version-info $(LIBEXSLT_VERSION_INFO)
man_MANS = libexslt.3
......
......@@ -61,6 +61,7 @@
libxslt_la_LIBADD = $(LIBXML_LIBS) $(EXTRA_LIBS) $(LIBM)
libxslt_la_LDFLAGS = \
$(AM_LDFLAGS) -no-undefined \
$(LIBXSLT_VERSION_SCRIPT) \
-version-info $(LIBXSLT_VERSION_INFO)
......
......@@ -21,7 +21,9 @@
xmlsoft_org_xslt_testplugin_la_CFLAGS = -DMODULE_COMPILE $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)
xmlsoft_org_xslt_testplugin_la_SOURCES = testplugin.c
xmlsoft_org_xslt_testplugin_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS)
xmlsoft_org_xslt_testplugin_la_LDFLAGS = -module -avoid-version -rpath $(plugindir)
xmlsoft_org_xslt_testplugin_la_LDFLAGS = \
$(AM_LDFLAGS) -no-undefined \
-module -avoid-version -rpath $(plugindir)
test-logall:
@echo '## Running plugin tests'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment