Update stage scripts for crosstools based linux build

This commit is contained in:
BtbN 2021-05-14 04:52:29 +02:00
parent bd36724a09
commit 4a2c335c06
37 changed files with 84 additions and 121 deletions

View file

@ -24,11 +24,11 @@ ffbuild_dockerbuild() {
--enable-static
)
if [[ $TARGET == win* ]]; then
if [[ $TARGET == win* || $TARGET == linux* ]]; then
myconf+=(
--host="$FFBUILD_TOOLCHAIN"
)
elif [[ $TARGET != linux* ]]; then
else
echo "Unknown target"
return -1
fi
@ -36,10 +36,6 @@ ffbuild_dockerbuild() {
./configure "${myconf[@]}"
make -j$(nproc)
make install
if [[ $TARGET == linux* ]]; then
sed -i 's/Libs.private:/Libs.private: -lintl/' "$FFBUILD_PREFIX"/lib/pkgconfig/fontconfig.pc
fi
}
ffbuild_configure() {