From 5ebe1f573fedc1cf96ff9c0134f9403b04eb5af0 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 31 Mar 2006 17:59:28 -0500 Subject: [PATCH] ENH: fix for bug 3067 the first framework ate the rest of the libraries --- Source/cmOrderLinkDirectories.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index f6a440d4e..f57027dc0 100644 --- a/Source/cmOrderLinkDirectories.cxx +++ b/Source/cmOrderLinkDirectories.cxx @@ -258,11 +258,11 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder() cmStdString dir; cmStdString file; std::vector empty; - bool framework = false; // do not add a -F for the system frameworks this->EmittedFrameworkPaths.insert("/System/Library/Frameworks"); for(unsigned int i=0; i < this->RawLinkItems.size(); ++i) { + bool framework = false; if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str())) { if(cmSystemTools::FileIsDirectory(this->RawLinkItems[i].c_str()))