diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-31 07:08:32 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-09 16:23:52 +0200 |
commit | ccf340e56364851f2e5b75e52d3d63701b662954 (patch) | |
tree | f3c1f913f2cb9497be028923d2550bf9d8db62e4 | |
parent | 711f8acc0f520487060c308870f70dbbfa84f272 (diff) | |
download | sssd-ccf340e56364851f2e5b75e52d3d63701b662954.tar.gz sssd-ccf340e56364851f2e5b75e52d3d63701b662954.tar.bz2 sssd-ccf340e56364851f2e5b75e52d3d63701b662954.zip |
AUTOMAKE: Use portable way to link with dlopen
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 05da9a14..e45e69fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -718,7 +718,7 @@ sssd_be_SOURCES = \ src/providers/dp_refresh.c \ $(SSSD_FAILOVER_OBJ) sssd_be_LDADD = \ - -ldl \ + $(LIBADD_DL) \ $(SSSD_LIBS) \ $(CARES_LIBS) \ $(PAM_LIBS) \ @@ -1095,7 +1095,7 @@ simple_access_tests_CFLAGS = \ $(CHECK_CFLAGS) \ -DUNIT_TESTING simple_access_tests_LDADD = \ - -ldl \ + $(LIBADD_DL) \ $(SSSD_LIBS) \ $(CARES_LIBS) \ $(CHECK_LIBS) \ diff --git a/configure.ac b/configure.ac index 511e8d6c..39f6a319 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_DISABLE_STATIC AC_PROG_INSTALL AC_PROG_LIBTOOL +LT_LIB_DLLOAD AC_CONFIG_MACRO_DIR([m4]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.14]) |