mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Fix extrautils build
This commit is contained in:
parent
a1d531d79b
commit
7cdcd9b0a1
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export PKG_CONFIG_DIR=
|
||||
export PKG_CONFIG_PATH=
|
||||
export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_RECIPE}/sysroot"
|
||||
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ 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"
|
||||
|
||||
2
cook.sh
2
cook.sh
@ -423,6 +423,8 @@ then
|
||||
then
|
||||
export COOKBOOK_RECIPE="${ROOT}/recipes/$1"
|
||||
|
||||
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
export PKG_CONFIG_PATH=
|
||||
export PKG_CONFIG_LIBDIR="${COOKBOOK_RECIPE}/sysroot/lib/pkgconfig"
|
||||
export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_RECIPE}/sysroot"
|
||||
|
||||
@ -1,6 +1,2 @@
|
||||
GIT=https://github.com/redox-os/extrautils.git
|
||||
BUILD_DEPENDS=(xz)
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
export PKG_CONFIG_PATH=
|
||||
export PKG_CONFIG_LIBDIR="$PWD/sysroot/lib/pkgconfig"
|
||||
export PKG_CONFIG_SYSROOT_DIR="$PWD/sysroot"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user