0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 14:46:18 +00:00
glibc-packages/gpkg/apr/fix_apr-config.patch
Ivan Max 544ab0e7a3
new pkgs to gpkg (#209)
gpkg/apache2
gpkg/apr-util
gpkg/apr
gpkg/asciidoc
gpkg/cmocka
gpkg/docbook-xml
gpkg/docbook-xsl
gpkg/git
gpkg/gtk-doc
gpkg/json-c
gpkg/libsasl
gpkg/libsecret
gpkg/libsodium
gpkg/libtpms
gpkg/libxss
gpkg/mariadb
gpkg/nano
gpkg/openldap
gpkg/postgresql
gpkg/python-py3c
gpkg/serf
gpkg/subversion
gpkg/swig
gpkg/tk
gpkg/tpm2-tss
gpkg/unixodbc
gpkg/utf8proc
gpkg/file
gpkg/less
gpkg/libseccomp
2024-05-03 18:33:35 +03:00

29 lines
838 B
Diff

diff --git a/apr-config.in b/apr-config.in
index bed47cacb..2cba29b1d 100644
--- a/apr-config.in
+++ b/apr-config.in
@@ -39,7 +39,7 @@ LDFLAGS="@EXTRA_LDFLAGS@"
LIBS="@EXTRA_LIBS@"
EXTRA_INCLUDES="@EXTRA_INCLUDES@"
SHLIBPATH_VAR="@shlibpath_var@"
-APR_SOURCE_DIR="@apr_srcdir@"
+APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
APR_BUILD_DIR="@apr_builddir@"
APR_SO_EXT="@so_ext@"
APR_LIB_TARGET="@export_lib_target@"
@@ -243,13 +243,7 @@ while test $# -gt 0; do
exit 0
;;
--apr-libtool)
- if test "$location" = "installed"; then
- echo "${installbuilddir}/libtool"
- elif test "$location" = "crosscompile"; then
- echo "$APR_TARGET_DIR/${installbuilddir}/libtool"
- else
- echo "$APR_BUILD_DIR/libtool"
- fi
+ echo "$installbuilddir/libtool"
exit 0
;;
--help)