forked from cwtch.im/libcwtch-go
Merge pull request 'macos uses .dylib' (#24) from ios_build into trunk
Reviewed-on: cwtch.im/libcwtch-go#24
This commit is contained in:
commit
9f24031d97
|
@ -3,5 +3,6 @@ cwtch-sources.jar
|
|||
cwtch.aar
|
||||
libCwtch.h
|
||||
libCwtch.so
|
||||
libCwtch.dylib
|
||||
libCwtch.dll
|
||||
ios/
|
||||
|
|
6
Makefile
6
Makefile
|
@ -8,7 +8,7 @@ all: linux android windows
|
|||
|
||||
linux: libCwtch.so
|
||||
|
||||
macos: libCwtch.so
|
||||
macos: libCwtch.dylib
|
||||
|
||||
android: cwtch.aar
|
||||
|
||||
|
@ -18,6 +18,10 @@ libCwtch.so: lib.go
|
|||
./switch-ffi.sh
|
||||
go build -buildmode c-shared -o libCwtch.so
|
||||
|
||||
libCwtch.dylib: lib.go
|
||||
./switch-ffi.sh
|
||||
go build -buildmode c-shared -o libCwtch.dylib
|
||||
|
||||
cwtch.aar: lib.go
|
||||
./switch-gomobile.sh
|
||||
gomobile bind -target android
|
||||
|
|
Loading…
Reference in New Issue