Linux build in macos

This commit is contained in:
Salomon BRYS
2020-06-29 13:02:45 +02:00
parent 7e79a17a7f
commit 3c317da9f5
2 changed files with 29 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ if [ "$TARGET" == "mingw" ]; then
CONF_OPTS="CFLAGS=-fpic --host=x86_64-w64-mingw32"
elif [ "$TARGET" == "linux" ]; then
CONF_OPTS="CFLAGS=-fpic"
[ "$CROSS" == "1" ] && sudo apt -y install libgmp-dev
elif [ "$TARGET" == "darwin" ]; then
CONF_OPTS="--host=x86_64-w64-darwin"
fi