BUG: Adjustment of install_name with install_name_tool should account for DESTDIR when specifying the file to be changed.
This commit is contained in:
parent
ad9dd6d11c
commit
bfb0ec58e8
@ -361,7 +361,7 @@ void cmInstallTargetGenerator
|
|||||||
{
|
{
|
||||||
os << "\n -change \"" << i->first << "\" \"" << i->second << "\"";
|
os << "\n -change \"" << i->first << "\" \"" << i->second << "\"";
|
||||||
}
|
}
|
||||||
os << "\n \"" << destination << "/"
|
os << "\n \"$ENV{DESTDIR}" << destination << "/"
|
||||||
<< this->GetScriptReference(this->Target, "REMAPPED", true) << "\")\n";
|
<< this->GetScriptReference(this->Target, "REMAPPED", true) << "\")\n";
|
||||||
os << "ENDIF(" << component_test << ")\n";
|
os << "ENDIF(" << component_test << ")\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user