mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-03 01:17:27 -08:00
Bug: https://bugs.gentoo.org/811765 Bug: https://bugs.gentoo.org/870004 Bug: https://bugs.gentoo.org/893406 Closes: https://bugs.gentoo.org/875167 Signed-off-by: Sam James <sam@gentoo.org>
30 lines
982 B
Diff
30 lines
982 B
Diff
https://bugs.gentoo.org/811765
|
|
https://sources.debian.org/patches/apr-util/1.6.3-1/apu_config_dont_list_indep_libs.patch/
|
|
|
|
From: Peter Samuelson <peter@p12n.org>
|
|
Subject: Prevent recursive linking of dependent libraries by apr-util users.
|
|
|
|
--- a/apr-util.pc.in
|
|
+++ b/apr-util.pc.in
|
|
@@ -8,6 +8,7 @@ Name: APR Utils
|
|
Description: Companion library for APR
|
|
Version: @APRUTIL_DOTTED_VERSION@
|
|
# assume that apr-util requires libapr of same major version
|
|
-Requires: apr-@APRUTIL_MAJOR_VERSION@
|
|
-Libs: -L${libdir} -l@APRUTIL_LIBNAME@ @LDADD_ldap@ @APRUTIL_EXPORT_LIBS@
|
|
+Requires.private: apr-@APRUTIL_MAJOR_VERSION@
|
|
+Libs: -L${libdir} -l@APRUTIL_LIBNAME@ @LDADD_ldap@
|
|
+Libs.private: @APRUTIL_EXPORT_LIBS@
|
|
Cflags: -I${includedir}
|
|
--- a/apu-config.in
|
|
+++ b/apu-config.in
|
|
@@ -27,7 +27,7 @@ bindir="@bindir@"
|
|
libdir="@libdir@"
|
|
includedir="${SYSROOT}@includedir@"
|
|
|
|
-LIBS="@APRUTIL_EXPORT_LIBS@"
|
|
+LIBS=
|
|
INCLUDES="@APRUTIL_INCLUDES@"
|
|
LDFLAGS="@APRUTIL_LDFLAGS@"
|
|
LDAP_LIBS="@LDADD_ldap@"
|