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:
Brad King 2006-06-01 15:08:36 -04:00
parent ad9dd6d11c
commit bfb0ec58e8
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ void cmInstallTargetGenerator
{
os << "\n -change \"" << i->first << "\" \"" << i->second << "\"";
}
os << "\n \"" << destination << "/"
os << "\n \"$ENV{DESTDIR}" << destination << "/"
<< this->GetScriptReference(this->Target, "REMAPPED", true) << "\")\n";
os << "ENDIF(" << component_test << ")\n";
}