From 852242e56b74520b3c4486f4d5aca54b42c42a77 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 27 May 2008 10:21:21 -0400 Subject: [PATCH] BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink. --- Source/cmInstallTargetGenerator.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index 8db09575a..202fe4d02 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -200,6 +200,12 @@ cmInstallTargetGenerator } else { + // Operations done at install time on the installed file should + // be done on the real file and not any of the symlinks. + toInstallPath = this->GetInstallDestination(); + toInstallPath += "/"; + toInstallPath += targetNameReal; + files.push_back(from1); if(targetNameReal != targetName) {