summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-09-01 09:29:50 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-09-05 22:54:43 +0200
commit1116fbbf0e50827841a6bafd80c027c3d3548c1f (patch)
tree958f713b666428e944d4f8c1476a3364bb1611ab
parent60713f738cedb6e4239604baf6619a0ca986fa49 (diff)
downloadsssd-1116fbbf0e50827841a6bafd80c027c3d3548c1f.tar.gz
sssd-1116fbbf0e50827841a6bafd80c027c3d3548c1f.tar.xz
sssd-1116fbbf0e50827841a6bafd80c027c3d3548c1f.zip
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 <jhrozek@redhat.com>
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
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) \