macos uses .dylib
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2021-08-28 18:22:56 -04:00
parent d93cb45052
commit 94f8f216b6
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,5 +3,6 @@ cwtch-sources.jar
cwtch.aar
libCwtch.h
libCwtch.so
libCwtch.dylib
libCwtch.dll
ios/

View File

@ -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