feat: add sh of generate ios dylib.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
parent
4d05acae9c
commit
eac43b8710
8
c_wrapper/gen_ios_dylib.sh
Normal file
8
c_wrapper/gen_ios_dylib.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export GOOS=darwin
|
||||||
|
export GOARCH=arm64
|
||||||
|
export CGO_ENABLED=1
|
||||||
|
export CC=clang
|
||||||
|
|
||||||
|
go build -buildmode=c-shared -o libopenimsdk.dylib export.go constant.go protocol.go tools.go
|
||||||
|
```
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user