From bdd4f8a2165f199575e86d2497e3b305a0bf24cb Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 29 Feb 2004 14:23:22 -0500 Subject: [PATCH] ENH: Handle backticks as a valid library --- Source/cmLocalUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 7c7d22756..936555ec8 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -742,7 +742,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout, // if a variable expands to nothing. if (lib->first.size() == 0) continue; // if it is a full path break it into -L and -l - cmsys::RegularExpression reg("^([ \t]*\\-l)|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)"); + cmsys::RegularExpression reg("^([ \t]*\\-l)|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)"); if(lib->first.find('/') != std::string::npos && !reg.find(lib->first)) {