Fix mess. Typos happen. Not checking that a `fixed' patch still work

should definitely NOT.
This commit is contained in:
espie 2002-03-06 10:53:13 +00:00
parent f1939bf6f3
commit 5b93bb3190

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-qmake_generators_unix_unixmake2_cpp,v 1.2 2002/03/05 22:11:48 mark Exp $
$OpenBSD: patch-qmake_generators_unix_unixmake2_cpp,v 1.3 2002/03/06 10:53:13 espie Exp $
--- qmake/generators/unix/unixmake2.cpp.orig Mon Feb 18 13:46:23 2002
+++ qmake/generators/unix/unixmake2.cpp Tue Feb 26 18:48:36 2002
+++ qmake/generators/unix/unixmake2.cpp Wed Mar 6 11:44:23 2002
@@ -190,10 +190,14 @@ UnixMakefileGenerator::writeMakeParts(QT
} else if (!project->isActiveConfig("staticlib") && project->variables()["QMAKE_APP_FLAG"].isEmpty()) {
t << "TARGETA = " << var("TARGETA") << endl;
@ -9,7 +9,7 @@ $OpenBSD: patch-qmake_generators_unix_unixmake2_cpp,v 1.2 2002/03/05 22:11:48 ma
- t << "TARGET0 = " << var("TARGET_") << endl;
- t << "TARGET1 = " << var("TARGET_x") << endl;
- t << "TARGET2 = " << var("TARGET_x.y") << endl;
+ if (project->variables()["QMAKE_OPENBSD_SHLIBS"].isEmpty()) {
+ if (!project->variables()["QMAKE_OPENBSD_SHLIBS"].isEmpty()) {
+ t << "TARGETD = " << var("TARGET_x.y") << endl;
+ } else {
+ t << "TARGETD = " << var("TARGET_x.y.z") << endl;