summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-29 02:12:15 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-29 02:12:15 (GMT)
commitcbeced92baab71d47efecff5f2ceabdff531d3a0 (patch)
treeb604e0f6fbd487607477f1a528aa34ad0c920238 /Source/cmComputeLinkDepends.cxx
parent006f2b069abe2dae16d2d5cfab8866ae1697b4c3 (diff)
downloadCMake-cbeced92baab71d47efecff5f2ceabdff531d3a0.zip
CMake-cbeced92baab71d47efecff5f2ceabdff531d3a0.tar.gz
CMake-cbeced92baab71d47efecff5f2ceabdff531d3a0.tar.bz2
BUG: Fix previous fix.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r--Source/cmComputeLinkDepends.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 598ac02..95f51f0 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)