Skip to content

Commit

Permalink
Fix Build Issue on MacOS Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
njfdev committed Aug 22, 2024
1 parent 9a6868d commit cabcff0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_scripts/build_app_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ if [[ "$OS" == "Linux" ]]; then
LIB_EXT=".so"
elif [[ "$OS" == "Darwin" ]]; then
LIB_EXT=".dylib"

# I spent 1.5 hours figuring out that this ENV variable was messing
# up libusb build script on Apple Silicon.
unset IPHONEOS_DEPLOYMENT_TARGET
elif [[ "$OS" == "CYGWIN"* || "$OS" == "MINGW"* || "$OS" == "MSYS"* ]]; then
LIB_EXT=".dll"
else
Expand Down

0 comments on commit cabcff0

Please sign in to comment.