diff --git a/bin/x86_64-unknown-redox-pkg-config b/bin/x86_64-unknown-redox-pkg-config old mode 100644 new mode 100755 index 7693e6210839433611c17fcae95bde2082341700..54776ef20ac182377efe43cf112a844d52635a6a --- a/bin/x86_64-unknown-redox-pkg-config +++ b/bin/x86_64-unknown-redox-pkg-config @@ -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 "$@" diff --git a/config.sh b/config.sh index b08a2e5942bc4fc9d7a2313bf5dc8881b2d3bf1a..fb4c4eeb14c2c9efa56ff6cbe9cc576c54a70cb3 100755 --- a/config.sh +++ b/config.sh @@ -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";