summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/android/android.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/android/android.prf')
-rw-r--r--mkspecs/features/android/android.prf5
1 files changed, 3 insertions, 2 deletions
diff --git a/mkspecs/features/android/android.prf b/mkspecs/features/android/android.prf
index fc0ff553d0..8290286ec6 100644
--- a/mkspecs/features/android/android.prf
+++ b/mkspecs/features/android/android.prf
@@ -36,14 +36,15 @@ build_pass {
}
}
} else: contains(TEMPLATE, "lib"):!static:!QTDIR_build:android_install {
+ 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
}
} else {
- QMAKE_EXTRA_TARGETS *= aab apk apk_install_target
-
android-build-distclean.commands = \
$$QMAKE_DEL_TREE $$shell_quote($$shell_path($$OUT_PWD/android-build))
QMAKE_EXTRA_TARGETS *= android-build-distclean
CLEAN_DEPS += android-build-distclean
}
+QMAKE_EXTRA_TARGETS *= aab apk apk_install_target