aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/qt/use_android_ndk23.patch
blob: 85b8690218495de147a74e8fc2b76ea9ecf87175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Use Android NDK r23 LTS

--- old/qtbase/mkspecs/features/android/default_pre.prf
+++ new/qtbase/mkspecs/features/android/default_pre.prf
@@ -73,7 +73,7 @@ else: equals(QT_ARCH, x86_64): CROSS_COMPILE = $$NDK_LLVM_PATH/bin/x86_64-linux-
 else: equals(QT_ARCH, arm64-v8a): CROSS_COMPILE = $$NDK_LLVM_PATH/bin/aarch64-linux-android-
 else: CROSS_COMPILE = $$NDK_LLVM_PATH/bin/arm-linux-androideabi-
 
-QMAKE_RANLIB            = $${CROSS_COMPILE}ranlib
+QMAKE_RANLIB            = $$NDK_LLVM_PATH/bin/llvm-ranlib
 QMAKE_LINK_SHLIB        = $$QMAKE_LINK
 QMAKE_LFLAGS            =