fix default QMAKE_PKGCONFIG_LIBDIR
it needs neither native separators, nor a trailing separator. the QMAKE_PKGCONFIG_INCDIR default was already ok. Change-Id: I1048b3870fd3ca09aa76b41aecda7d90402aa64a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
50b25458cc
commit
50bc2b25d8
@ -3217,7 +3217,7 @@ MakefileGenerator::writePkgConfigFile()
|
||||
QString prefix = pkgConfigPrefix();
|
||||
QString libDir = project->first("QMAKE_PKGCONFIG_LIBDIR").toQString();
|
||||
if(libDir.isEmpty())
|
||||
libDir = prefix + Option::dir_sep + "lib" + Option::dir_sep;
|
||||
libDir = prefix + "/lib";
|
||||
QString includeDir = project->first("QMAKE_PKGCONFIG_INCDIR").toQString();
|
||||
if(includeDir.isEmpty())
|
||||
includeDir = prefix + "/include";
|
||||
|
Loading…
Reference in New Issue
Block a user