From bfb0ec58e819ae4d168337c5aadf73764599adc8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 1 Jun 2006 15:08:36 -0400 Subject: BUG: Adjustment of install_name with install_name_tool should account for DESTDIR when specifying the file to be changed. --- Source/cmInstallTargetGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index ef5bb43..e58fd9d 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -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"; } -- cgit v0.12