29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-as_needed.patch
|
|
Upstream: No
|
|
Reason: FTBFS
|
|
|
|
Author: Matthias Klose <doko@ubuntu.com>
|
|
Desription: Fix FTBFS, add $(SASL_DB_LIB) as dependency to libsasldb, and use
|
|
it.
|
|
--- cyrus-sasl-2.1.27/saslauthd/Makefile.am
|
|
+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
|
|
@@ -25,7 +25,7 @@
|
|
saslauthd_DEPENDENCIES = saslauthd-main.o $(LTLIBOBJS_FULL)
|
|
saslauthd_LDADD = @SASL_KRB_LIB@ \
|
|
@GSSAPIBASE_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
|
|
- @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ $(LTLIBOBJS_FULL) $(CRYPTO_COMPAT_OBJS) $(LIBSASLDB_OBJS)
|
|
+ @LIB_SOCKET@ ../sasldb/libsasldb.la @LIB_PAM@ @LDAP_LIBS@ $(LTLIBOBJS_FULL) $(CRYPTO_COMPAT_OBJS) $(LIBSASLDB_OBJS)
|
|
|
|
testsaslauthd_SOURCES = testsaslauthd.c utils.c
|
|
testsaslauthd_LDADD = @LIB_SOCKET@
|
|
--- cyrus-sasl-2.1.27/sasldb/Makefile.am
|
|
+++ cyrus-sasl-2.1.27/sasldb/Makefile.am
|
|
@@ -54,6 +54,6 @@
|
|
|
|
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)
|
|
libsasldb_la_LDFLAGS = -no-undefined
|