diff options
Diffstat (limited to 'qmake/generators/unix/unixmake2.cpp')
-rw-r--r-- | qmake/generators/unix/unixmake2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp index e4d33e2d4e..cd6f441472 100644 --- a/qmake/generators/unix/unixmake2.cpp +++ b/qmake/generators/unix/unixmake2.cpp @@ -1178,6 +1178,9 @@ void UnixMakefileGenerator::init2() soname += project->first("TARGET"); } else if(!project->isEmpty("QMAKE_BUNDLE")) { soname += project->first("TARGET_x.y"); + } else if(project->isActiveConfig("unversioned_soname")) { + soname = "lib" + project->first("QMAKE_ORIG_TARGET") + + "." + project->first("QMAKE_EXTENSION_SHLIB"); } else if(!project->values("TARGET_x").isEmpty()) { soname += project->first("TARGET_x"); } |