Android: Fix compiling targets with space in name

We have to escape the target name to avoid compilation errors.
This fixes the compilation failure in the qprocess autotest.

[ChangeLog][Android] Added support for building libraries with
spaces in name.

Change-Id: Ib98ba261fb3a4cc1e835d0cd2f93aac6855a7c21
Reviewed-by: BogDan Vatra <bogdan@kde.org>
bb10
Eskil Abrahamsen Blomfeldt 2014-06-27 15:19:02 +02:00
parent b56a42be14
commit df7ecb6802
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
contains(TEMPLATE, ".*app") {
!android_app {
!contains(TARGET, ".so"): TARGET = lib$${TARGET}.so
QMAKE_LFLAGS += -Wl,-soname,$$TARGET
QMAKE_LFLAGS += -Wl,-soname,$$shell_quote($$TARGET)
android_install: {
target.path=/libs/$$ANDROID_TARGET_ARCH/