diff --git a/syncthing/build-syncthing.py b/syncthing/build-syncthing.py index 8cf9987b4..b3f99c1a4 100644 --- a/syncthing/build-syncthing.py +++ b/syncthing/build-syncthing.py @@ -95,6 +95,12 @@ def get_ndk_home(): 'CGO_ENABLED': '1', }) + subprocess.check_call( + ['go', 'version'], + env=environ, cwd=syncthing_dir) + subprocess.check_call( + ['go', 'run', 'build.go', 'version'], + env=environ, cwd=syncthing_dir) cc = os.path.join( get_ndk_home(), "toolchains", "llvm", "prebuilt", PLATFORM_DIRS[platform.system()], "bin",