add 16kb page size for native lib
This commit is contained in:
1 parent
3e2e5a68ce
commit
a92a76b7ae
4 files changed
+3
-2
No files matched your search
@@ -95,5 +95,5 @@ go build -o relay .
|
||||
- Go 1.21+
|
||||
- gomobile (`go install golang.org/x/mobile/cmd/gomobile@latest`)
|
||||
- gobind (`go install golang.org/x/mobile/cmd/gobind@latest`)
|
||||
- Android SDK + NDK 27
|
||||
- Android SDK + NDK 28+
|
||||
- Java 11+
|
||||
Binary file not shown.
+2
-1
@@ -2,7 +2,8 @@
|
||||
set -e
|
||||
|
||||
export ANDROID_HOME="$HOME/Library/Android/sdk"
|
||||
export ANDROID_NDK_HOME="$ANDROID_HOME/ndk/27.0.12077973"
|
||||
export ANDROID_NDK_HOME="$ANDROID_HOME/ndk/29.0.14206865"
|
||||
export CGO_LDFLAGS="-Wl,-z,max-page-size=16384"
|
||||
export PATH="$PATH:/opt/homebrew/bin:$HOME/go/bin"
|
||||
|
||||
# Check deps
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user