chroot-file: hardcode path to host file(1) in cross builds, rather than using PATH.
This commit is contained in:
parent
b2997064e2
commit
b919b35c6b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ pre_configure() {
|
|||
|
||||
pre_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export PATH=${wrksrc}/host-build:$PATH
|
||||
sed "s,file --version,${wrksrc}/host-build/file --version,g" -i magic/Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue