summaryrefslogtreecommitdiffstats
path: root/mkspecs/android-g++
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-07-22 13:09:21 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-13 19:48:15 +0200
commit1dcdc506f34bfa0d9adc6d07587a4a71dbda455b (patch)
tree7fb41afabc3dcc6a4413f7136dd3688cddfc2009 /mkspecs/android-g++
parent3c2c9649eb7b966cfc2727fd309cf6d928c43f8c (diff)
Fix SONAME handling on android
Set the SONAME to the library name without the major version number appended, as android does not have the versioned symlinks. Change-Id: I41c504869019a393a3f112b2f7fc81c7ad5afa1c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'mkspecs/android-g++')
-rw-r--r--mkspecs/android-g++/qmake.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/mkspecs/android-g++/qmake.conf b/mkspecs/android-g++/qmake.conf
index bcdfe06897..0afea12e60 100644
--- a/mkspecs/android-g++/qmake.conf
+++ b/mkspecs/android-g++/qmake.conf
@@ -3,7 +3,7 @@ MAKEFILE_GENERATOR = UNIX
QMAKE_PLATFORM = android
QMAKE_COMPILER = gcc
-CONFIG += android_install
+CONFIG += android_install unversioned_soname
DEFINES += QT_NO_PRINTER QT_NO_PRINTDIALOG
include(../common/linux.conf)
@@ -177,7 +177,6 @@ contains(NDK_ROOT, ".*r6")|contains(NDK_ROOT, ".*r5.*") {
}
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
-QMAKE_LFLAGS_SONAME =
QMAKE_LFLAGS_NOUNDEF = -Wl,--no-undefined
QMAKE_LFLAGS_RPATH = -Wl,-rpath=
QMAKE_LFLAGS_RPATHLINK = -Wl,-rpath-link=