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
parent
b56a42be14
commit
df7ecb6802
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in New Issue