[Cmake-commits] [cmake-commits] king committed cmComputeLinkDepends.cxx 1.24 1.25
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Aug 28 22:07:21 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv24966/Source
Modified Files:
cmComputeLinkDepends.cxx
Log Message:
BUG: When recognizing flags on link lines, we must still treat -l as a library.
Index: cmComputeLinkDepends.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkDepends.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -C 2 -d -r1.24 -r1.25
*** cmComputeLinkDepends.cxx 27 Aug 2008 14:21:57 -0000 1.24
--- cmComputeLinkDepends.cxx 29 Aug 2008 02:07:19 -0000 1.25
***************
*** 313,317 ****
entry.Item = item;
entry.Target = this->FindTargetToLink(entry.Item.c_str());
! entry.IsFlag = !entry.Target && item[0] == '-';
// If the item has dependencies queue it to follow them.
--- 313,317 ----
entry.Item = item;
entry.Target = this->FindTargetToLink(entry.Item.c_str());
! entry.IsFlag = !entry.Target && item[0] == '-' && item[1] == 'l';
// If the item has dependencies queue it to follow them.
More information about the Cmake-commits
mailing list