Linux/ARM: Adding rpath for shared library of exception_handling.pal_sxs.test1 (dotne...
authorGeunsik Lim <leemgs@users.noreply.github.com>
Sat, 4 Jun 2016 15:07:05 +0000 (00:07 +0900)
committerJan Kotas <jkotas@microsoft.com>
Sat, 4 Jun 2016 15:07:05 +0000 (08:07 -0700)
commit3ceb34924d22daa8b4c6a7d5df34f7fec68247b8
tree86591ecaaddcb278a455156e8e878ae794862dd6
parentbdeef773b4b04d13413179ea0141f4683421dd64
Linux/ARM: Adding rpath for shared library of exception_handling.pal_sxs.test1 (dotnet/coreclr#5328)

Let's add the 'rpath' in order to fix error happened while
'paltest_pal_sxs_test1' (ELF) of PAL test is loading a shared library.
This 'rpath' statement is derived from the existing files such as
./ToolBox/SOS/Strike/CMakeLists.txt and dlls/mscordbi/CMakeLists.txt.

Ver2:
Apply 'rpath' in case of the Linux platform only

Ver1:
Let's add 'rpath' statement to the Linux platform environment
that we have experienced issue.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
CC: Mike McLaughlin <mikem@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/5e9a125839fe9de8c26952680f77fb4c492f8159
src/coreclr/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt