>From af4692d2ca217bcc7d0fb6128c5ecbc1ab30a6d1 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 1 Sep 2015 09:29:50 +0200 Subject: [PATCH 1/3] 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! --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index fdec9b30b802779912caa551650cd7bb5856f7b3..4e0dee7a91d5102bcb30d68a095660ab31826a8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1421,7 +1421,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) \ -- 2.5.0