mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Use absolute path for build sysroot
This commit is contained in:
parent
292ee1e2b7
commit
9a78a52ca0
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user