Update build for macos M1 (#77)

This commit is contained in:
Fabrice Drouin
2023-04-13 09:15:43 +02:00
committed by GitHub
parent 94bb2d67cf
commit 6fedb1577c
6 changed files with 43 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ if [ "$TARGET" == "mingw" ]; then
elif [ "$TARGET" == "linux" ]; then
CONF_OPTS="CFLAGS=-fPIC"
elif [ "$TARGET" == "darwin" ]; then
CONF_OPTS="--host=x86_64-w64-darwin"
CONF_OPTS=""
else
echo "Unknown TARGET=$TARGET"
exit 1