summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-28 22:12:15 -0400
committerBrad King <brad.king@kitware.com>2008-08-28 22:12:15 -0400
commitcbeced92baab71d47efecff5f2ceabdff531d3a0 (patch)
treeb604e0f6fbd487607477f1a528aa34ad0c920238
parent006f2b069abe2dae16d2d5cfab8866ae1697b4c3 (diff)
downloadcmake-cbeced92baab71d47efecff5f2ceabdff531d3a0.tar.gz
BUG: Fix previous fix.
-rw-r--r--Source/cmComputeLinkDepends.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 598ac02b10..95f51f0d3a 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -312,7 +312,7 @@ int cmComputeLinkDepends::AddLinkEntry(std::string const& item)
LinkEntry& entry = this->EntryList[index];
entry.Item = item;
entry.Target = this->FindTargetToLink(entry.Item.c_str());
- entry.IsFlag = !entry.Target && item[0] == '-' && item[1] == 'l';
+ entry.IsFlag = !entry.Target && item[0] == '-' && item[1] != 'l';
// If the item has dependencies queue it to follow them.
if(entry.Target)