[openwrt/openwrt] tools/pkgconf: add PKG_CONFIG_EXTRAARGS for additional arguments

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 24 11:28:12 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0e411c69a819bf3c8a122d8421d6c1c0ded33ec8

commit 0e411c69a819bf3c8a122d8421d6c1c0ded33ec8
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Tue Oct 19 11:08:46 2021 +0200

    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 at gmail.com>
---
 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 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 "$@"



More information about the lede-commits mailing list