Use absolute path for build sysroot

This commit is contained in:
Jeremy Soller 2018-11-28 07:55:15 -07:00
parent 292ee1e2b7
commit 9a78a52ca0
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -20,7 +20,7 @@ function recipe_build {
cp config.sub mpfr/config.sub
cp -f config.sub mpc/config.sub
sysroot="${PWD}/../sysroot"
sysroot="$(realpath "${PWD}/../sysroot")"
mkdir -p "$sysroot/usr"
ln -sf "$sysroot/include" "$sysroot/usr/include"
ln -sf "$sysroot/lib" "$sysroot/usr/lib"