summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-05-30 14:21:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-05-30 14:44:53 +0200
commit534c5427e5216d5d25f9b10925294e803ecf016f (patch)
treefafeeed124f968ed6ecef4bb405f839cb7d2c3b5
parent4bd20c075f0f187db0181dc53d00ab6cd47fdb4d (diff)
downloadsssd-534c5427e5216d5d25f9b10925294e803ecf016f.tar.gz
sssd-534c5427e5216d5d25f9b10925294e803ecf016f.tar.xz
sssd-534c5427e5216d5d25f9b10925294e803ecf016f.zip
MAKE: Link libsss_ldap.so with ldap libraries
Tests ad_common_tests, test_search_bases, ad_access_filter_tests could not be linked on ubuntu and dlopen test faild as well. Running suite(s): dlopen 0%: Checks: 1, Failures: 1, Errors: 0 src/tests/dlopen-tests.c:143:F:dlopen:test_dlopen_base:0: Error opening libsss_ldap.so: [dlopen() failed: sssd-1.11.90/.libs/libsss_ldap_common.so: undefined symbol: ber_pvt_opt_on] Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 652cf6723..50e3968cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2004,6 +2004,7 @@ libsss_ldap_common_la_SOURCES = \
libsss_ldap_common_la_CFLAGS = \
$(KRB5_CFLAGS)
libsss_ldap_common_la_LIBADD = \
+ $(OPENLDAP_LIBS) \
$(KRB5_LIBS) \
libsss_krb5_common.la \
libsss_idmap.la