mcst-linux-kernel/patches-2024.06.26/apr-util-1.6.1/0001-fix_apr_util_pc.patch

26 lines
946 B
Diff
Raw Normal View History

2024-07-09 13:51:45 +03:00
diff -Naur old/apr-util.pc.in new/apr-util.pc.in
--- old/apr-util.pc.in 2022-04-25 13:55:26.691813349 +0300
+++ new/apr-util.pc.in 2022-04-25 13:58:09.062919811 +0300
@@ -8,6 +8,7 @@
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}
diff -Naur old/apu-config.in new/apu-config.in
--- old/apu-config.in 2022-04-25 13:55:26.691813349 +0300
+++ new/apu-config.in 2022-04-25 13:58:27.735277058 +0300
@@ -27,7 +27,7 @@
libdir="@libdir@"
includedir="@includedir@"
-LIBS="@APRUTIL_EXPORT_LIBS@"
+LIBS=
INCLUDES="@APRUTIL_INCLUDES@"
LDFLAGS="@APRUTIL_LDFLAGS@"
LDAP_LIBS="@LDADD_ldap@"