Explorar o código

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 <[email protected]>
Andre Heider %!s(int64=4) %!d(string=hai) anos
pai
achega
0e411c69a8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      tools/pkgconf/files/pkg-config

+ 2 - 1
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 "$@"