From c5195bcb4915b08de741705af8d8fce45bb27090 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 12 Jul 2012 15:44:34 +0200 Subject: [PATCH] remove another symbian remnant: QMAKE_RVCT_LINKSTYLE Change-Id: Ibac060ecae061c72d4c7076b2d61a5cdd6247420 Reviewed-by: Joerg Bornemann --- qmake/generators/unix/unixmake.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index 23168cc..4099d53 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -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; } -- 2.7.4