BUG: Fix escaping in link scripts
When generating escape sequences for the native build tool do not put in Makefile escapes for paths generated into link scripts. This fixes putting "$ORIGIN" into the RPATH, and probably some other subtle problems.
This commit is contained in:
parent
090b90d727
commit
e44a9c9299
|
@ -2579,7 +2579,7 @@ std::string cmLocalGenerator::EscapeForShell(const char* str, bool makeVars,
|
||||||
{
|
{
|
||||||
flags |= cmsysSystem_Shell_Flag_VSIDE;
|
flags |= cmsysSystem_Shell_Flag_VSIDE;
|
||||||
}
|
}
|
||||||
else
|
else if(!this->LinkScriptShell)
|
||||||
{
|
{
|
||||||
flags |= cmsysSystem_Shell_Flag_Make;
|
flags |= cmsysSystem_Shell_Flag_Make;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue