File 0001-ax_have_qt.m4-Fix-not-getting-variables-from-the-gen.patch of Package mingw64-gwenhywfar
From 6ce34049b09cb3d7a05b052fd578519e7867b65c Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Fri, 26 Apr 2019 15:04:16 +0200
Subject: [PATCH] ax_have_qt.m4: Fix not getting variables from the generated
Makefile on Windows
Under Windows, the generated Makefile does not contain the required
information by default, because it is contained in other Makefiles
for the Release and Debug build variants. It is therefore necessary
to use only one build variant.
---
m4/ax_have_qt.m4 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/m4/ax_have_qt.m4 b/m4/ax_have_qt.m4
index c71a760..2a1d2d5 100644
--- a/m4/ax_have_qt.m4
+++ b/m4/ax_have_qt.m4
@@ -73,6 +73,10 @@ AC_DEFUN([AX_HAVE_QT],
am_have_qt_makefile=`mktemp`
# http://qt-project.org/doc/qt-5/qmake-variable-reference.html#qt
cat > $am_have_qt_pro << EOF
+win32 {
+ CONFIG -= debug_and_release
+ CONFIG += release
+}
qtHaveModule(axcontainer): QT += axcontainer
qtHaveModule(axserver): QT += axserver
qtHaveModule(concurrent): QT += concurrent
--
2.13.7