diff options
Diffstat (limited to 'mkspecs/features/android.prf')
-rw-r--r-- | mkspecs/features/android.prf | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/mkspecs/features/android.prf b/mkspecs/features/android.prf index 2a3086d4ad..5e21f0b845 100644 --- a/mkspecs/features/android.prf +++ b/mkspecs/features/android.prf @@ -2,13 +2,10 @@ 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 + } } } -!QTDIR_build:android_install { - isEmpty(QT_BUILD_TREE) { - target.path=/libs/$$ANDROID_TARGET_ARCH/ - } else { - target.path = / - } - INSTALLS *= target -} |