summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-06-24 17:18:20 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-06-24 17:18:20 +0200
commit3a806254fe265583f3871ed4629e13b23675ac86 (patch)
treeaebb3458501c7df21bec4d01fb7a5b7e56bc247c /qmake/generators/win32
parent5b5e8f78fecbe2bd9279bfa9ef10015cef8b1bc7 (diff)
Fix 'clean' target for MinGW DLLs
'make clean' removed the import libs for DLLs which makes them quite unusable. Move the import lib removal to the 'distclean' target. Fixes: QTBUG-51977 Change-Id: I727d520435f88a83a7fb14cb0ad81f8fe7c6d61b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'qmake/generators/win32')
-rw-r--r--qmake/generators/win32/mingw_make.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index de7363e51b..746f3e9008 100644
--- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp
@@ -254,7 +254,7 @@ void MingwMakefileGenerator::init()
}
if(project->isActiveConfig("dll")) {
- project->values("QMAKE_CLEAN").append(project->first("MINGW_IMPORT_LIB"));
+ project->values("QMAKE_DISTCLEAN").append(project->first("MINGW_IMPORT_LIB"));
}
}