From 4a255bfd04bbad1bab4ce69e2807224d2d7c4563 Mon Sep 17 00:00:00 2001 From: arm64v8a <48624112+arm64v8a@users.noreply.github.com> Date: Sat, 18 Nov 2023 10:45:53 +0900 Subject: [PATCH] Revert "build(libcore): gomobile no longer supports the 'cache' parameter" This reverts commit f778b0635c123a6245a7761a4500faf75ed34923. --- libcore/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcore/build.sh b/libcore/build.sh index a45d3c2d..22b9a7b0 100755 --- a/libcore/build.sh +++ b/libcore/build.sh @@ -9,7 +9,7 @@ rm -rf $BUILD/android \ $BUILD/javac-output \ $BUILD/src -gomobile bind -v -androidapi 21 -trimpath -ldflags='-s -w' -tags='with_conntrack,with_gvisor,with_quic,with_wireguard,with_utls,with_clash_api,with_ech' . || exit 1 +gomobile bind -v -androidapi 21 -cache $(realpath $BUILD) -trimpath -ldflags='-s -w' -tags='with_conntrack,with_gvisor,with_quic,with_wireguard,with_utls,with_clash_api,with_ech' . || exit 1 rm -r libcore-sources.jar proj=../app/libs