Skip to content

Commit 7dd82d4

Browse files
committed
Update android ndk patch.
1 parent 6b55b8c commit 7dd82d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

etc/patches/configure-override-android-ndk-paths.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ index 66cf3e16ad..8f0b0582b3 100644
8282
+ if value:
8383
+ return value[0]
8484
+
85-
llvm_path = '%s/toolchains/llvm/prebuilt/%s-%s/bin' % (ndk,
86-
host.kernel.lower(),
87-
host.cpu)
85+
llvm_format = '%s/toolchains/llvm/prebuilt/%s-%s/bin'
86+
llvm_path = llvm_format % (ndk, host.kernel.lower(), host.cpu)
87+
if not isdir(llvm_path) and host.cpu == 'x86_64':

0 commit comments

Comments
 (0)