Skip to content

Commit

Permalink
updated ios build command
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Mar 5, 2022
1 parent 18acf0c commit 1148086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.ios
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ binding_ios: binding_ios_arm64 binding_ios_x86_64
binding_ios_arm64:
BINDING_FILE=$(IOS_OUTPUT)/arm64.a BUILD_MODE="c-archive" \
SDK=iphoneos CC=$(PWD)/clangwrap.sh CGO_CFLAGS="-fembed-bitcode" \
GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 BINDING_ARGS="-tags ios" \
GOOS=ios GOARCH=arm64 CGO_ENABLED=1 \
make binding

binding_ios_x86_64:
BINDING_FILE=$(IOS_OUTPUT)/x86_64.a BUILD_MODE="c-archive" \
SDK=iphonesimulator CC=$(PWD)/clangwrap.sh \
GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 BINDING_ARGS="-tags ios" \
GOOS=ios GOARCH=amd64 CGO_ENABLED=1 \
make binding

binding_ios_armv7:
Expand Down

0 comments on commit 1148086

Please sign in to comment.