aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkgconf
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2021-10-19 11:08:46 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-10-24 18:00:49 +0200
commit0e411c69a819bf3c8a122d8421d6c1c0ded33ec8 (patch)
tree442708f27b96fa20c1f4a54797fccbca118609f0 /tools/pkgconf
parentf262d2aae136d2fe60c3b7314a4a0c5f30d79062 (diff)
downloadupstream-0e411c69a819bf3c8a122d8421d6c1c0ded33ec8.tar.gz
upstream-0e411c69a819bf3c8a122d8421d6c1c0ded33ec8.tar.bz2
upstream-0e411c69a819bf3c8a122d8421d6c1c0ded33ec8.zip
tools/pkgconf: add PKG_CONFIG_EXTRAARGS for additional arguments
This can be used my the OpenWrt build system to pass additional arguments when required. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'tools/pkgconf')
-rwxr-xr-xtools/pkgconf/files/pkg-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/pkgconf/files/pkg-config b/tools/pkgconf/files/pkg-config
index 2c6fd08b4a..91d144d9b1 100755
--- a/tools/pkgconf/files/pkg-config
+++ b/tools/pkgconf/files/pkg-config
@@ -5,4 +5,5 @@ pkg-config.real \
--keep-system-libs \
--define-variable=prefix="${STAGING_PREFIX}" \
--define-variable=exec_prefix="${STAGING_PREFIX}" \
---define-variable=bindir="${STAGING_PREFIX}/bin" "$@"
+--define-variable=bindir="${STAGING_PREFIX}/bin" \
+$PKG_CONFIG_EXTRAARGS "$@"