From df7ecb68022c1c24c962d2766ac8fc29846cf3e0 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Fri, 27 Jun 2014 15:19:02 +0200 Subject: 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 --- mkspecs/features/android/android.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkspecs/features/android') diff --git a/mkspecs/features/android/android.prf b/mkspecs/features/android/android.prf index 9e86110da6..f428f7db87 100644 --- a/mkspecs/features/android/android.prf +++ b/mkspecs/features/android/android.prf @@ -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/ -- cgit v1.2.3