summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-02 19:35:23 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-02 19:35:23 (GMT)
commitd732de4a8a189699135e67f8bad66757bdcf188f (patch)
treea18672b2681d61fd62d3be37cb9166ab3fe50290 /Source/cmLocalGenerator.cxx
parent16a415dd0c81a4a11cf6fa78755ce636e5ac3ab9 (diff)
downloadCMake-d732de4a8a189699135e67f8bad66757bdcf188f.zip
CMake-d732de4a8a189699135e67f8bad66757bdcf188f.tar.gz
CMake-d732de4a8a189699135e67f8bad66757bdcf188f.tar.bz2
ENH: Cleanup builtin chrpath support
- Move computation of extended build-tree rpath to cmComputeLinkInformation - Only enable the extended build-tree rpath if the target will be installed - Generalize the interface of file(CHRPATH) - When changing the rpath on installation only replace the part generated by CMake because the native tools (ex SunCC on Linux) might have added their own part to the rpath
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 5fca1f3..f96704f 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1591,17 +1591,6 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
// All rpath entries are combined ("-Wl,-rpath,a:b:c").
std::string rpath = cli.GetRPathString(relink);
- // If not relinking, make sure the rpath string is long enough to
- // support a subsequent chrpath on installation.
- if(!relink)
- {
- std::string::size_type minLength = cli.GetChrpathString().size();
- while(rpath.size() < minLength)
- {
- rpath += cli.GetRuntimeSep();
- }
- }
-
// Store the rpath option in the stream.
if(!rpath.empty())
{