File 0001-Fix-install-of-targets-located-in-subdir-like-releas.patch of Package mingw32-libqt5-qtbase
From d58a9ebc9f9e585c43d456761d4ad4a13a74e095 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Tue, 28 Jul 2020 02:36:50 +0200
Subject: [PATCH] Fix install of targets located in subdir like release and
debug
Change-Id: I70a32b01e6f176da28d894a2552b8d36a0fd0e9a
---
qmake/generators/unix/unixmake.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp
index 30f99174f8..0cf21a414a 100644
--- a/qmake/generators/unix/unixmake.cpp
+++ b/qmake/generators/unix/unixmake.cpp
@@ -587,7 +587,7 @@ UnixMakefileGenerator::defaultInstall(const QString &t)
target = project->first("QMAKE_BUNDLE").toQString();
bundle = project->isActiveConfig("sliced_bundle") ? SlicedBundle : SolidBundle;
} else if(project->first("TEMPLATE") == "app") {
- target = "$(QMAKE_TARGET)";
+ target = "$(DESTDIR_TARGET)";
} else if(project->first("TEMPLATE") == "lib") {
if (!project->isActiveConfig("staticlib")
&& !project->isActiveConfig("plugin")
--
2.26.2