27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Author: Matthias Klose <doko@ubuntu.com>
|
|
Desription: Fix FTBFS, add $(SASL_DB_LIB) as dependency to libsasldb, and use
|
|
it.
|
|
--- a/saslauthd/Makefile.am
|
|
+++ b/saslauthd/Makefile.am
|
|
@@ -16,7 +16,7 @@ EXTRA_saslauthd_sources = getaddrinfo.c
|
|
saslauthd_DEPENDENCIES = saslauthd-main.o @LTLIBOBJS@
|
|
saslauthd_LDADD = @SASL_KRB_LIB@ \
|
|
@GSSAPIBASE_LIBS@ @GSSAPI_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
|
|
- @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
|
|
+ @LIB_SOCKET@ ../sasldb/libsasldb.la @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
|
|
|
|
testsaslauthd_SOURCES = testsaslauthd.c utils.c
|
|
testsaslauthd_LDADD = @LIB_SOCKET@
|
|
--- a/sasldb/Makefile.am
|
|
+++ b/sasldb/Makefile.am
|
|
@@ -55,8 +55,8 @@ noinst_LIBRARIES = libsasldb.a
|
|
|
|
libsasldb_la_SOURCES = allockey.c sasldb.h
|
|
EXTRA_libsasldb_la_SOURCES = $(extra_common_sources)
|
|
-libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND)
|
|
-libsasldb_la_LIBADD = $(SASL_DB_BACKEND)
|
|
+libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) $(SASL_DB_LIB)
|
|
+libsasldb_la_LIBADD = $(SASL_DB_BACKEND) $(SASL_DB_LIB)
|
|
|
|
# Prevent make dist stupidity
|
|
libsasldb_a_SOURCES =
|