mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-09 12:20:29 -04:00
fixed signing, missing ldid
This commit is contained in:
parent
a7c6c8fd86
commit
d2b48f7e45
3
.gitignore
vendored
3
.gitignore
vendored
@ -14,3 +14,6 @@ jreout
|
||||
ios-missing-include/cups
|
||||
ios-missing-include/X11
|
||||
ios-missing-include/Xm
|
||||
dizout
|
||||
jreout
|
||||
jdkout
|
||||
|
@ -47,7 +47,7 @@ else
|
||||
export CFLAGS+=" $sameflags"
|
||||
export CXXFLAGS="$sameflags"
|
||||
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install xquartz
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install ldid xquartz
|
||||
fi
|
||||
|
||||
# fix building libjawt
|
||||
|
@ -1,19 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
rm -rf jreout || true
|
||||
|
||||
if [ "$TARGET_JDK" == "arm" ]
|
||||
then
|
||||
if [ "$TARGET_JDK" == "arm" ]; then
|
||||
export TARGET_JDK=aarch32
|
||||
fi
|
||||
|
||||
imagespath=openjdk/build/${JVM_PLATFORM}-${TARGET_JDK}-normal-${JVM_VARIANTS}-${JDK_DEBUG_LEVEL}/images
|
||||
|
||||
rm -rf dizout jreout jdkout
|
||||
mkdir dizout
|
||||
|
||||
if [ "$BUILD_IOS" == "1" ]; then
|
||||
find $imagespath -name "*.dylib" -exec ldid -S ios-sign-entitlements.xml {} \;
|
||||
find $imagespath -name "bin" -exec ldid -S ios-sign-entitlements.xml {}/* \;
|
||||
find $imagespath -name "*.dylib" -exec ldid -Sios-sign-entitlements.xml {} \;
|
||||
for bindir in $(find $imagespath -name "bin"); do
|
||||
ldid -Sios-sign-entitlements.xml ${bindir}/*
|
||||
done
|
||||
fi
|
||||
|
||||
cp -r $imagespath/j2re-image jreout
|
||||
|
Loading…
x
Reference in New Issue
Block a user