mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Reenable patched pkg-config
This commit is contained in:
parent
ce09215a76
commit
e455d711dc
2
bin/x86_64-unknown-redox-pkg-config
Normal file → Executable file
2
bin/x86_64-unknown-redox-pkg-config
Normal file → Executable file
@ -4,4 +4,4 @@ export PKG_CONFIG_PATH=
|
|||||||
export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_RECIPE}/sysroot"
|
export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_RECIPE}/sysroot"
|
||||||
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
||||||
|
|
||||||
exec pkg-config "$@"
|
exec pkg-config --static "$@"
|
||||||
|
|||||||
@ -23,11 +23,13 @@ export LD="${HOST}-ld"
|
|||||||
export NM="${HOST}-nm"
|
export NM="${HOST}-nm"
|
||||||
export OBJCOPY="${HOST}-objcopy"
|
export OBJCOPY="${HOST}-objcopy"
|
||||||
export OBJDUMP="${HOST}-objdump"
|
export OBJDUMP="${HOST}-objdump"
|
||||||
#export PKG_CONFIG="${HOST}-pkg-config"
|
export PKG_CONFIG="${HOST}-pkg-config"
|
||||||
export RANLIB="${HOST}-ranlib"
|
export RANLIB="${HOST}-ranlib"
|
||||||
export READELF="${HOST}-readelf"
|
export READELF="${HOST}-readelf"
|
||||||
export STRIP="${HOST}-strip"
|
export STRIP="${HOST}-strip"
|
||||||
|
|
||||||
|
export PKG_CONFIG_FOR_BUILD="pkg-config"
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
# GNU find
|
# GNU find
|
||||||
FIND="gfind";
|
FIND="gfind";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user