From 83ef8dcf2daebad8ac93d409f27ab1cba52805c0 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sun, 27 Nov 2022 22:32:07 +0100 Subject: [PATCH] And don't use any slahses in path components --- syncthing/build-syncthing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syncthing/build-syncthing.py b/syncthing/build-syncthing.py index caacc773..7cb2c2c7 100644 --- a/syncthing/build-syncthing.py +++ b/syncthing/build-syncthing.py @@ -96,7 +96,8 @@ for target in BUILD_TARGETS: }) cc = os.path.join( - get_ndk_home(), "toolchains/llvm/prebuilt/", PLATFORM_DIRS[platform.system()], "bin", + get_ndk_home(), "toolchains", "llvm", "prebuilt", + PLATFORM_DIRS[platform.system()], "bin", target['cc'].format(min_sdk)) subprocess.check_call( ['go', 'run', 'build.go', '-goos', 'android',