[cmake-commits] king committed cmTarget.cxx 1.203 1.204

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Mar 2 16:37:36 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv7700

Modified Files:
	cmTarget.cxx 
Log Message:
ENH: Allow users to work around problems with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH.


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -d -r1.203 -r1.204
--- cmTarget.cxx	2 Mar 2008 19:35:23 -0000	1.203
+++ cmTarget.cxx	2 Mar 2008 21:37:34 -0000	1.204
@@ -3034,6 +3034,12 @@
     return false;
     }
 
+  // Allow the user to disable builtin chrpath explicitly.
+  if(this->Makefile->IsOn("CMAKE_NO_BUILTIN_CHRPATH"))
+    {
+    return false;
+    }
+
   // Enable if the rpath flag uses a separator and the target uses ELF
   // binaries.
   if(const char* ll = this->GetLinkerLanguage(



More information about the Cmake-commits mailing list