mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-16 15:47:40 -04:00
Hack to include macOS SDK components for libjsound
This commit is contained in:
parent
5c5ec9ed00
commit
89ba13ac64
@ -46,6 +46,8 @@ if [ "$BUILD_IOS" != "1" ]; then
|
||||
ar cru dummy_libs/libthread_db.a
|
||||
else
|
||||
ln -s -f /opt/X11/include/X11 $ANDROID_INCLUDE/
|
||||
ln -sfn $themacsysroot/System/Library/Frameworks/CoreAudio.framework/Headers $ANDROID_INCLUDE/CoreAudio
|
||||
ln -sfn $themacsysroot/System/Library/Frameworks/IOKit.framework/Headers $ANDROID_INCLUDE/IOKit
|
||||
if [ "$(uname -p)" == "arm" ]; then
|
||||
ln -s -f /opt/homebrew/include/fontconfig $ANDROID_INCLUDE/
|
||||
else
|
||||
|
@ -1,9 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
args=$@
|
||||
# hack: remove iOS CFLAGS
|
||||
if [ "$(uname -m)" == "x86_64" ]; then
|
||||
args=${@/arm64/x86_64}
|
||||
args=${args/arm64/x86_64}
|
||||
fi
|
||||
args=${args/"-isysroot $thesysroot"/}
|
||||
args=${args/"-miphoneos-version-min=12.0"/}
|
||||
|
Loading…
x
Reference in New Issue
Block a user