qmake: change a linker option in .pc file from -llibhoge to -lhoge
Change-Id: Ib4d01bf190eec753f1b5e37e8e5871514e43ac71 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
0b87f4f6c9
commit
a0dc3e608f
@ -3299,7 +3299,7 @@ MakefileGenerator::writePkgConfigFile()
|
|||||||
pkgConfiglibName = "-framework " + bundle + " ";
|
pkgConfiglibName = "-framework " + bundle + " ";
|
||||||
} else {
|
} else {
|
||||||
pkgConfiglibDir = "-L${libdir}";
|
pkgConfiglibDir = "-L${libdir}";
|
||||||
pkgConfiglibName = "-l" + fileInfo(fname).completeBaseName();
|
pkgConfiglibName = "-l" + unescapeFilePath(project->first("QMAKE_ORIG_TARGET"));
|
||||||
if (project->isActiveConfig("shared"))
|
if (project->isActiveConfig("shared"))
|
||||||
pkgConfiglibName += project->first("TARGET_VERSION_EXT").toQString();
|
pkgConfiglibName += project->first("TARGET_VERSION_EXT").toQString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user