ENH: fix bug 2087 lib prefix stripped off on windows

This commit is contained in:
Bill Hoffman
2005-08-10 12:55:41 -04:00
parent b058a5e1aa
commit e59e9d0e59
7 changed files with 35 additions and 7 deletions

View File

@@ -56,6 +56,7 @@ bool TestLibraryOrder(bool shouldFail)
orderLibs.DebugOn();
orderLibs.AddLinkExtension(".so");
orderLibs.AddLinkExtension(".a");
orderLibs.SetLinkPrefix("lib");
orderLibs.SetLinkInformation(target, cmTarget::GENERAL, "A");
bool ret = orderLibs.DetermineLibraryPathOrder();
orderLibs.GetLinkerInformation(sortedpaths, linkItems);