summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qmake/generators/unix/unixmake.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp
index 23168cc380..4099d53a12 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;
}