aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/qt
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-12-04 23:11:32 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-12-05 03:00:02 +0200
commit78a6bc6919e96b5c32efd370540a28aecc2262f6 (patch)
tree657082927a01f35b48ef8c26e6b482a1205e19ee /depends/patches/qt
parentea989deecc8d4d02bb401c0ac7cd7a0543e3454c (diff)
build, qt: Use Android NDK r23 LTS
Diffstat (limited to 'depends/patches/qt')
-rw-r--r--depends/patches/qt/use_android_ndk23.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/depends/patches/qt/use_android_ndk23.patch b/depends/patches/qt/use_android_ndk23.patch
new file mode 100644
index 0000000000..85b8690218
--- /dev/null
+++ b/depends/patches/qt/use_android_ndk23.patch
@@ -0,0 +1,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 =
+