summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-12-21 05:01:02 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2001-12-21 05:01:02 (GMT)
commit9ad7f0905a11e8e9c5667b98b0dc74adc01afeed (patch)
tree61cbc92492af1b6d1112b2dc8edde2a9f49e6ed0 /Source
parent5291b7d0259ad7fbd5a463d940aadf0ea78a4de0 (diff)
downloadCMake-9ad7f0905a11e8e9c5667b98b0dc74adc01afeed.zip
CMake-9ad7f0905a11e8e9c5667b98b0dc74adc01afeed.tar.gz
CMake-9ad7f0905a11e8e9c5667b98b0dc74adc01afeed.tar.bz2
ENH: Add option to disable use of -rpath.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index cff90ae..bc7b0bf 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -422,7 +422,7 @@ void cmUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
// concatenate all paths or no?
bool runtimeConcatenate = ( runtimeSep!="" );
- if(runtimeFlag == "")
+ if(runtimeFlag == "" || m_Makefile->IsOn("CMAKE_SKIP_RPATH") )
{
outputRuntime = false;
}