tools/pkgconf: add PKG_CONFIG_EXTRAARGS for additional arguments
authorAndre Heider <a.heider@gmail.com>
Tue, 19 Oct 2021 09:08:46 +0000 (11:08 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Oct 2021 16:00:49 +0000 (18:00 +0200)
This can be used my the OpenWrt build system to pass additional
arguments when required.

Signed-off-by: Andre Heider <a.heider@gmail.com>
tools/pkgconf/files/pkg-config

index 2c6fd08b4abf62d3a3a09b151bca8fa3ce1b9513..91d144d9b139add78b7a36ca29dee81d867ba2e2 100755 (executable)
@@ -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 "$@"