fix distclean for dynamic libraries again
Task-number: QTBUG-40264 Change-Id: I1d28d2ef96c5c53274ca21c0ea3f416f0d9628dd Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
6e217f0678
commit
079adae309
@ -1019,8 +1019,9 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
|
|||||||
t << "\t-$(DEL_FILE) -r " << bundlePath << endl;
|
t << "\t-$(DEL_FILE) -r " << bundlePath << endl;
|
||||||
} else if(project->isActiveConfig("compile_libtool")) {
|
} else if(project->isActiveConfig("compile_libtool")) {
|
||||||
t << "\t-$(LIBTOOL) --mode=clean $(DEL_FILE) $(TARGET)\n";
|
t << "\t-$(LIBTOOL) --mode=clean $(DEL_FILE) $(TARGET)\n";
|
||||||
} else if(!project->isActiveConfig("staticlib") && project->values("QMAKE_APP_FLAG").isEmpty() &&
|
} else if (project->isActiveConfig("staticlib")) {
|
||||||
!project->isActiveConfig("plugin")) {
|
t << "\t-$(DEL_FILE) " << destdir << "$(TARGET) \n";
|
||||||
|
} else if (project->values("QMAKE_APP_FLAG").isEmpty() && !project->isActiveConfig("plugin")) {
|
||||||
t << "\t-$(DEL_FILE) " << destdir << "$(TARGET) \n";
|
t << "\t-$(DEL_FILE) " << destdir << "$(TARGET) \n";
|
||||||
if (!project->isActiveConfig("unversioned_libname")) {
|
if (!project->isActiveConfig("unversioned_libname")) {
|
||||||
t << "\t-$(DEL_FILE) " << destdir << "$(TARGET0) " << destdir << "$(TARGET1) "
|
t << "\t-$(DEL_FILE) " << destdir << "$(TARGET0) " << destdir << "$(TARGET1) "
|
||||||
@ -1029,7 +1030,7 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
|
|||||||
t << "\t-$(DEL_FILE) $(TARGETA)\n";
|
t << "\t-$(DEL_FILE) $(TARGETA)\n";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
t << "\t-$(DEL_FILE) " << destdir << "$(TARGET) \n";
|
t << "\t-$(DEL_FILE) $(TARGET) \n";
|
||||||
}
|
}
|
||||||
t << varGlue("QMAKE_DISTCLEAN","\t-$(DEL_FILE) "," ","\n");
|
t << varGlue("QMAKE_DISTCLEAN","\t-$(DEL_FILE) "," ","\n");
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user