don't auto-create install targets for static libs

these are not meant to be deployed, so the install hack should skip
them.

Task-number: QTBUG-42830
Change-Id: I870499dca2cfea87bf0048f019d651ce9cc5d788
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Oswald Buddenhagen 2017-06-06 20:37:29 +02:00
parent c0e94dd093
commit 72d4f0750b
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ contains(TEMPLATE, ".*app") {
INSTALLS *= target
}
}
} else: contains(TEMPLATE, "lib"):android_install {
} else: contains(TEMPLATE, "lib"):!static:android_install {
target.path = /libs/$$ANDROID_TARGET_ARCH/
INSTALLS *= target
}

View File

@ -1,2 +1,3 @@
load(resolve_config)
load(android)
load(resolve_target)