diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-15 10:27:36 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-15 11:48:27 +0200 |
commit | e52db861c63a01d3f20420585e696c05981577c6 (patch) | |
tree | 92c6bec5c08f59b6484808d55e13b4cf8b50525a | |
parent | c3b1e99007d5f0069fbbd32a3df799d71ea4882e (diff) | |
download | sssd-e52db861c63a01d3f20420585e696c05981577c6.tar.gz sssd-e52db861c63a01d3f20420585e696c05981577c6.tar.bz2 sssd-e52db861c63a01d3f20420585e696c05981577c6.zip |
BUILD: Link libsss_ad.so to sasl libs
This is for the sasl_client_init symbol.
Introducted in commit fb945a2c.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 98a298ea..801c327e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1721,12 +1721,14 @@ libsss_ad_la_CFLAGS = \ $(AM_CFLAGS) \ $(SYSTEMD_LOGIN_CFLAGS) \ $(LDAP_CFLAGS) \ + $(SASL_CFLAGS) \ $(DHASH_CFLAGS) \ $(KRB5_CFLAGS) \ $(NDR_NBT_CFLAGS) libsss_ad_la_LIBADD = \ $(SYSTEMD_LOGIN_LIBS) \ $(OPENLDAP_LIBS) \ + $(SASL_LIBS) \ $(DHASH_LIBS) \ $(KEYUTILS_LIBS) \ $(KRB5_LIBS) \ diff --git a/configure.ac b/configure.ac index 9934b50b..a46e26d2 100644 --- a/configure.ac +++ b/configure.ac @@ -262,7 +262,7 @@ fi AM_CHECK_INOTIFY -AC_CHECK_HEADERS([sasl/sasl.h],,AC_MSG_ERROR([Could not find SASL headers])) +PKG_CHECK_MODULES([SASL], [libsasl2], [], [AC_MSG_ERROR([Could not find SASL library])]) AC_CACHE_CHECK([whether compiler supports __attribute__((destructor))], sss_client_cv_attribute_destructor, |