浏览代码

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 4 年之前
父节点
当前提交
0e411c69a8
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 "$@"