remove another symbian remnant: QMAKE_RVCT_LINKSTYLE
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 12 Jul 2012 13:44:34 +0000 (15:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jul 2012 15:19:13 +0000 (17:19 +0200)
Change-Id: Ibac060ecae061c72d4c7076b2d61a5cdd6247420
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
qmake/generators/unix/unixmake.cpp

index 23168cc..4099d53 100644 (file)
@@ -484,9 +484,7 @@ UnixMakefileGenerator::findLibraries()
                     if(!libdirs.contains(f))
                         libdirs.append(f);
                 } else if(opt.startsWith("-l")) {
-                    if (!project->isEmpty("QMAKE_RVCT_LINKSTYLE")) {
-                        (*it) = opt.mid(2);
-                    } else if (project->isActiveConfig("rvct_linker") || project->isActiveConfig("armcc_linker")) {
+                    if (project->isActiveConfig("rvct_linker") || project->isActiveConfig("armcc_linker")) {
                         (*it) = "lib" + opt.mid(2) + ".so";
                     } else {
                         stub = opt.mid(2);
@@ -535,10 +533,7 @@ UnixMakefileGenerator::findLibraries()
                                     + project->values("QMAKE_PREFIX_SHLIB").first()
                                     + stub + "." + (*extit));
                             if(exists(pathToLib)) {
-                                if (!project->isEmpty("QMAKE_RVCT_LINKSTYLE"))
-                                    (*it) = pathToLib;
-                                else
-                                    (*it) = "-l" + stub;
+                                (*it) = "-l" + stub;
                                 found = true;
                                 break;
                             }