From: Andre Heider Date: Tue, 19 Oct 2021 09:08:46 +0000 (+0200) Subject: tools/pkgconf: add PKG_CONFIG_EXTRAARGS for additional arguments X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0e411c69a819bf3c8a122d8421d6c1c0ded33ec8;p=openwrt%2Fstaging%2Fjow.git 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 --- 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 "$@"