diff --git a/compile-tun2socks.sh b/compile-tun2socks.sh index 83291ecc..95cbaa89 100644 --- a/compile-tun2socks.sh +++ b/compile-tun2socks.sh @@ -48,11 +48,11 @@ ln -s "$__dir/hev-socks5-tunnel" jni/hev-socks5-tunnel "APP_ABI=armeabi-v7a arm64-v8a x86 x86_64" \ APP_PLATFORM=android-21 \ NDK_LIBS_OUT="$HEVTUN_TMP/libs" \ - NDK_OUT="$HEVTUN_TMP/tmp" \ - "APP_CFLAGS=O3 -DPKGNAME=com/v2ray/ang/service" \ + NDK_OUT="$HEVTUN_TMP/obj" \ + "APP_CFLAGS=-O3 -DPKGNAME=com/v2ray/ang/service" \ "APP_LDFLAGS=-WI,--build-id=none -WI,--hash-style=gnu" \ cp -r "$HEVTUN_TMP/libs/"* "$__dir/libs/" popd -rm -rf "$HEVTUN_TMP" \ No newline at end of file +rm -rf "$HEVTUN_TMP"