Skip to content

Commit 29038eb

Browse files
committed
jitpack: reset android_ndk_home
1 parent e152ac6 commit 29038eb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

make-aar

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@ SOURCES="${SOURCES:-build/intra/tun2socks-sources.jar}"
2929
ARG1="${1:-go}"
3030
ARG2="${2:-debug}"
3131

32+
ANDROID_NDK_HOME="${ANDROID_HOME}/ndk/${NDKVER}"
33+
ANDROID_NDK_ROOT="${ANDROID_NDK_HOME}"
34+
3235
# debug
3336
printenv
3437
ls -ltr $ANDROID_HOME/**
35-
# print ndk version
3638
head $ANDROID_HOME/ndk-bundle/source.properties || true
39+
ltr -ltr $ANDROID_NDK_HOME
40+
head $ANDROID_NDK_HOME/source.properties || true
3741

3842
if [ "$ARG1" = "go" ]; then
3943
# download from go.dev/dl

0 commit comments

Comments
 (0)