From 0e411c69a819bf3c8a122d8421d6c1c0ded33ec8 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Tue, 19 Oct 2021 11:08:46 +0200 Subject: [PATCH] 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 --- tools/pkgconf/files/pkg-config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/pkgconf/files/pkg-config b/tools/pkgconf/files/pkg-config index 2c6fd08b4abf..91d144d9b139 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 "$@" -- 2.30.2