Link something for iossim.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4517 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-14 01:56:40 +00:00
parent 87e769786a
commit a57916b3db
2 changed files with 21 additions and 5 deletions

View File

@ -6,7 +6,7 @@ API_LEVEL=28
BUILD_DIR=out/openssl_ios_build
BUILD_TARGETS="ios64-xcrun"
BUILD_TARGETS="ios64-xcrun iossimulator-xcrun"
rm -rfv openssl-${OPENSSL_VERSION}
@ -47,6 +47,13 @@ do
SSL_TARGET="ios64-xcrun"
CC=clang
;;
iossimulator-xcrun)
TRIBLE="x86_64-darwin-ios"
OPTIONS="--static -static -ffunction-sections -fdata-sections -fPIC -Wno-macro-redefined"
DESTDIR="/tmp/$BUILD_DIR/x86_64-iossim"
SSL_TARGET="iossimulator-xcrun"
CC=clang
;;
esac
rm -rf $DESTDIR