mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-22 19:01:30 +00:00
Use os.path.join for CC
This commit is contained in:
parent
373558b2ec
commit
c9ea58cfca
1 changed files with 2 additions and 2 deletions
|
@ -95,9 +95,9 @@ for target in BUILD_TARGETS:
|
|||
'CGO_ENABLED': '1',
|
||||
})
|
||||
|
||||
cc = '/'.join([
|
||||
cc = os.path.join(
|
||||
get_ndk_home(), "toolchains/llvm/prebuilt/", PLATFORM_DIRS[platform.system()], "bin",
|
||||
target['cc'].format(min_sdk)])
|
||||
target['cc'].format(min_sdk))
|
||||
subprocess.check_call(
|
||||
['go', 'run', 'build.go', '-goos', 'android',
|
||||
'-goarch', target['goarch'], '-cc', cc,
|
||||
|
|
Loading…
Reference in a new issue