Fix extrautils build

This commit is contained in:
Jeremy Soller 2018-02-27 21:14:07 -07:00
parent a1d531d79b
commit 7cdcd9b0a1
4 changed files with 4 additions and 6 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"