From cbeced92baab71d47efecff5f2ceabdff531d3a0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 28 Aug 2008 22:12:15 -0400 Subject: BUG: Fix previous fix. --- Source/cmComputeLinkDepends.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12