summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/android/android.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-10-02 21:32:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-03 18:17:53 +0200
commitf331f0ee28e3014376bb3b4ffe9edded1c09c012 (patch)
treee1cc389242dbb9b93b235408204995f049d183c5 /mkspecs/features/android/android.prf
parentb3535f3926a42a254985c456e9231768aade3595 (diff)
move android-specific feature files to android/
Change-Id: I1f2b345b1dfad544d53dbf7e17b12c75a2cc7668 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'mkspecs/features/android/android.prf')
-rw-r--r--mkspecs/features/android/android.prf11
1 files changed, 11 insertions, 0 deletions
diff --git a/mkspecs/features/android/android.prf b/mkspecs/features/android/android.prf
new file mode 100644
index 0000000000..5e21f0b845
--- /dev/null
+++ b/mkspecs/features/android/android.prf
@@ -0,0 +1,11 @@
+contains(TEMPLATE, ".*app") {
+ !android_app {
+ !contains(TARGET, ".so"): TARGET = lib$${TARGET}.so
+ QMAKE_LFLAGS += -Wl,-soname,$$TARGET
+
+ android_install: {
+ target.path=/libs/$$ANDROID_TARGET_ARCH/
+ INSTALLS *= target
+ }
+ }
+}