Add support for win32 builds

Closes #3
This commit is contained in:
BtbN 2020-09-27 22:10:05 +02:00
parent 0e104d9662
commit 77b3030134
17 changed files with 123 additions and 19 deletions

View file

@ -26,11 +26,16 @@ ffbuild_dockerbuild() {
--prefix="$FFBUILD_PREFIX"
)
if [[ $TARGET == win* ]]; then
if [[ $TARGET == win64 ]]; then
myconf+=(
--cross-compile-prefix="$FFBUILD_CROSS_PREFIX"
mingw64
)
elif [[ $TARGET == win32 ]]; then
myconf+=(
--cross-compile-prefix="$FFBUILD_CROSS_PREFIX"
mingw
)
else
echo "Unknown target"
return -1