diff options
author | Andre Heider <a.heider@gmail.com> | 2021-10-19 11:08:46 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-10-24 18:00:49 +0200 |
commit | 0e411c69a819bf3c8a122d8421d6c1c0ded33ec8 (patch) | |
tree | 442708f27b96fa20c1f4a54797fccbca118609f0 /tools/pkgconf | |
parent | f262d2aae136d2fe60c3b7314a4a0c5f30d79062 (diff) | |
download | upstream-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-x | tools/pkgconf/files/pkg-config | 3 |
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 "$@" |