BUG: Fix previous fix.

This commit is contained in:
Brad King 2008-08-28 22:12:15 -04:00
parent 006f2b069a
commit cbeced92ba
1 changed files with 1 additions and 1 deletions

View File

@ -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)