Skip to content

Commit

Permalink
update ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
matteriot committed Aug 27, 2023
1 parent 457781b commit 714f6c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/builddll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ echo "building windows dll"
#brew install mingw-w64
#sudo apt-get install binutils-mingw-w64
# shellcheck disable=SC2034
ls /usr/bin
which x86_64-w64-mingw32-gcc
export CGO_ENABLED=1
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
Expand Down
2 changes: 0 additions & 2 deletions lib/buildso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export CC=aarch64-linux-gnu-gcc
#export AR=aarch64-linux-gnu-ar
go build -tags linux -ldflags=-w -trimpath -o build/linux/gateway_arm64.so -buildmode c-shared main.go

echo $ANDROID_NDK_HOME
tree $ANDROID_NDK_HOME
export PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:~/Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
#android/app/src/main/jniLibs/armeabi-v7a
# shellcheck disable=SC2034
Expand Down

0 comments on commit 714f6c5

Please sign in to comment.