Reenable patched pkg-config

This commit is contained in:
Jeremy Soller 2018-12-10 11:38:16 -07:00
parent ce09215a76
commit e455d711dc
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 4 additions and 2 deletions

2
bin/x86_64-unknown-redox-pkg-config Normal file → Executable file
View File

@ -4,4 +4,4 @@ export PKG_CONFIG_PATH=
export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_RECIPE}/sysroot"
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
exec pkg-config "$@"
exec pkg-config --static "$@"

View File

@ -23,11 +23,13 @@ export LD="${HOST}-ld"
export NM="${HOST}-nm"
export OBJCOPY="${HOST}-objcopy"
export OBJDUMP="${HOST}-objdump"
#export PKG_CONFIG="${HOST}-pkg-config"
export PKG_CONFIG="${HOST}-pkg-config"
export RANLIB="${HOST}-ranlib"
export READELF="${HOST}-readelf"
export STRIP="${HOST}-strip"
export PKG_CONFIG_FOR_BUILD="pkg-config"
if [[ "$OSTYPE" == "darwin"* ]]; then
# GNU find
FIND="gfind";