compile with min macos version
This commit is contained in:
@@ -21,7 +21,11 @@ fi
|
|||||||
cd libsodium-1.0.16
|
cd libsodium-1.0.16
|
||||||
bash configure
|
bash configure
|
||||||
make clean
|
make clean
|
||||||
make -j$(nproc)
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
make CFLAGS="-mmacosx-version-min=10.11" CPPFLAGS="-mmacosx-version-min=10.11"
|
||||||
|
else
|
||||||
|
make
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# copy the library to the parents's res/ folder
|
# copy the library to the parents's res/ folder
|
||||||
|
|||||||
Reference in New Issue
Block a user