aboutsummarylogtreecommitdiffstats
path: root/qt5-prevent-debug-library-names-in-pkgconfig-files.patch
blob: 7d6836d5ab06ddcb9f285f3df1cc1406f05452aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- qtbase-opensource-src-5.2.0/qmake/generators/makefile.cpp.orig	2014-01-03 01:30:23.631353708 +0100
+++ qtbase-opensource-src-5.2.0/qmake/generators/makefile.cpp	2014-01-03 01:32:37.888625966 +0100
@@ -3168,6 +3168,9 @@
         if (dot != -1)
             ret = ret.left(dot);
     }
+    if (project->isActiveConfig("debug")) {
+        ret += "d";
+    }
     ret += Option::pkgcfg_ext;
     QString subdir = project->first("QMAKE_PKGCONFIG_DESTDIR").toQString();
     if(!subdir.isEmpty()) {