summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/android
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-01-15 12:05:26 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-01-18 14:01:46 +0100
commit12df6c63a0272408f3fa369dccc3c9eb0486a7f8 (patch)
tree996916bf504973b55b0944b9d930f0151473bbd0 /mkspecs/features/android
parente6f1fde24f77f63fb16b2df239f82a89d2bf05dd (diff)
Android: Use the values rather than the variables with str_member
This amends ce04fa345dbe52a022b592dde3ff49514c66b4c2 to correctly get the information out of the variables when using str_member and str_size, as it wants a string rather than a variable for these. Fixes: QTBUG-80582 Change-Id: I8e18e05c605ba1596a7ed7a013f5c6677ab76891 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'mkspecs/features/android')
-rw-r--r--mkspecs/features/android/android.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/android/android.prf b/mkspecs/features/android/android.prf
index 8290286ec6..6990417536 100644
--- a/mkspecs/features/android/android.prf
+++ b/mkspecs/features/android/android.prf
@@ -36,7 +36,7 @@ build_pass {
}
}
} else: contains(TEMPLATE, "lib"):!static:!QTDIR_build:android_install {
- tmpvar = $$str_member(TARGET, -$$str_size(QT_ARCH), -1)
+ tmpvar = $$str_member($$TARGET, -$$str_size($${QT_ARCH}), -1)
!equals(tmpvar, $${QT_ARCH}): TARGET = $${TARGET}_$${QT_ARCH}
target.path = /libs/$$ANDROID_TARGET_ARCH/
INSTALLS *= target