2016-12-20 23:05:26 +01:00
|
|
|
From b98187a679d8a09d1fc1cf08e5ca940cd6152995 Mon Sep 17 00:00:00 2001
|
2016-09-19 22:18:45 +02:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 13:58:28 +0200
|
2016-12-05 20:32:16 +01:00
|
|
|
Subject: [PATCH 09/26] Don't add resource files to LIBS parameter
|
2016-09-19 22:18:45 +02:00
|
|
|
|
|
|
|
Solves an issue where the generated pkg-config
|
|
|
|
files contained invalid Libs.private references
|
|
|
|
like .obj/debug/Qt5Cored_resource_res.o
|
|
|
|
---
|
|
|
|
qmake/generators/win32/mingw_make.cpp | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
|
2016-12-20 23:05:26 +01:00
|
|
|
index 382b10c37b..3caad900a8 100644
|
2016-09-19 22:18:45 +02:00
|
|
|
--- a/qmake/generators/win32/mingw_make.cpp
|
|
|
|
+++ b/qmake/generators/win32/mingw_make.cpp
|
|
|
|
@@ -196,7 +196,7 @@ void MingwMakefileGenerator::init()
|
|
|
|
|
|
|
|
processVars();
|
|
|
|
|
|
|
|
- project->values("QMAKE_LIBS") += project->values("RES_FILE");
|
|
|
|
+ project->values("OBJECTS") += project->values("RES_FILE");
|
|
|
|
|
|
|
|
if (project->isActiveConfig("dll")) {
|
|
|
|
QString destDir = "";
|
|
|
|
--
|
2016-12-20 23:05:26 +01:00
|
|
|
2.11.0
|
2016-09-19 22:18:45 +02:00
|
|
|
|