File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/coreclr/pal/tests/palsuite/exception_handling/pal_sxs/test1 Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,14 @@ endif(CLR_CMAKE_HOST_UNIX)
5
5
# Set the RPATH of paltest_pal_sxs_test1 so that it can find dependencies without needing to set LD_LIBRARY
6
6
# For more information: http://www.cmake.org/Wiki/CMake_RPATH_handling.
7
7
if (CORECLR_SET_RPATH )
8
+ set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
8
9
if (CLR_CMAKE_HOST_OSX )
9
10
set (CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON )
10
11
set (CMAKE_INSTALL_NAME_DIR "@rpath" )
11
- set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
12
12
set (CMAKE_INSTALL_RPATH "@loader_path" )
13
- endif (CLR_CMAKE_HOST_OSX )
14
- if (CLR_CMAKE_HOST_LINUX OR CLR_CMAKE_HOST_HAIKU )
15
- set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
13
+ else ()
16
14
set (CMAKE_INSTALL_RPATH "\$ ORIGIN" )
17
- endif (CLR_CMAKE_HOST_LINUX OR CLR_CMAKE_HOST_HAIKU )
15
+ endif (CLR_CMAKE_HOST_OSX )
18
16
endif (CORECLR_SET_RPATH )
19
17
20
18
# Test DLL1
You can’t perform that action at this time.
0 commit comments