From 1116fbbf0e50827841a6bafd80c027c3d3548c1f Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 1 Sep 2015 09:29:50 +0200 Subject: BUILD: Build libdlopen_test_providers.la as a dynamic library Module which can be loaded by dlopen but cannot be linked with other binaries. *** Warning: Linking the executable test_xyzp against the loadable module *** libdlopen_test_providers.so is not portable! Reviewed-by: Jakub Hrozek --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 745e388e3..7967526bb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1427,7 +1427,7 @@ libdlopen_test_providers_la_LIBADD = \ $(CARES_LIBS) \ $(SSSD_INTERNAL_LTLIBS) libdlopen_test_providers_la_LDFLAGS = \ - -module \ + -shared \ -avoid-version \ -Wl,--version-script,$(srcdir)/src/providers/sssd_be.exports \ -rpath $(abs_top_builddir) \ -- cgit