summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2016-04-11 17:06:44 -0700
committerMike McLaughlin <mikem@microsoft.com>2016-04-11 17:06:44 -0700
commite0247bdd8a1c5a5faba7033040727c3b59e0b69a (patch)
tree3d54dad901317de8e64ed662141d67598f56548a
parent65fcbb4eb9e9ed349dac74991bcb7303adeee013 (diff)
parentb7fa022f6cbe28737b6a0e3dfa74e2b80f71ac50 (diff)
downloadcoreclr-e0247bdd8a1c5a5faba7033040727c3b59e0b69a.tar.gz
coreclr-e0247bdd8a1c5a5faba7033040727c3b59e0b69a.tar.bz2
coreclr-e0247bdd8a1c5a5faba7033040727c3b59e0b69a.zip
Merge pull request #4277 from mikem8361/rpath
Unable to debug coreclr apps on Debian 8.2 (Issue #4263)
-rw-r--r--src/ToolBox/SOS/Strike/CMakeLists.txt1
-rw-r--r--src/dlls/mscordbi/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/Strike/CMakeLists.txt b/src/ToolBox/SOS/Strike/CMakeLists.txt
index 77d929d69b..3c1cffe553 100644
--- a/src/ToolBox/SOS/Strike/CMakeLists.txt
+++ b/src/ToolBox/SOS/Strike/CMakeLists.txt
@@ -1,6 +1,7 @@
# Set the RPATH of sos so that it can find dependencies without needing to set LD_LIBRARY_PATH
# For more information: http://www.cmake.org/Wiki/CMake_RPATH_handling.
if (CORECLR_SET_RPATH)
+ set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
if(CLR_CMAKE_PLATFORM_DARWIN)
set(CMAKE_INSTALL_RPATH "@loader_path")
else()
diff --git a/src/dlls/mscordbi/CMakeLists.txt b/src/dlls/mscordbi/CMakeLists.txt
index 2748bdf4a2..b8dfa71ca6 100644
--- a/src/dlls/mscordbi/CMakeLists.txt
+++ b/src/dlls/mscordbi/CMakeLists.txt
@@ -2,6 +2,7 @@
# Set the RPATH of mscordbi so that it can find dependencies without needing to set LD_LIBRARY_PATH
# For more information: http://www.cmake.org/Wiki/CMake_RPATH_handling.
if(CORECLR_SET_RPATH)
+ set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
if(CLR_CMAKE_PLATFORM_DARWIN)
set(CMAKE_INSTALL_RPATH "@loader_path")
else()