Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiy Kuryata <sergeyk@microsoft.com>2017-05-11 20:55:46 +0300
committerJan Kotas <jkotas@microsoft.com>2017-05-11 20:55:46 +0300
commite4db93bb495383782b4e1e6c5181356b72cbff88 (patch)
treee46990436eb1070e85370a8f1ff3de1bd153ba25 /src/BuildIntegration/Microsoft.NETCore.Native.Unix.props
parentee48224b76c9b40a2f6f7ae9ddb24ee4277b7545 (diff)
Enable RPATH for CoreRT applications on Linux (#3592)
Diffstat (limited to 'src/BuildIntegration/Microsoft.NETCore.Native.Unix.props')
-rw-r--r--src/BuildIntegration/Microsoft.NETCore.Native.Unix.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props b/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props
index 82486a2b8..fa4d8859b 100644
--- a/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props
+++ b/src/BuildIntegration/Microsoft.NETCore.Native.Unix.props
@@ -49,6 +49,7 @@ See the LICENSE file in the project root for more information.
<LinkerArg Include="@(NativeLibrary)" />
<LinkerArg Include="@(AdditionalNativeLibrary)" />
<LinkerArg Include="-g" />
+ <LinkerArg Include="-Wl,-rpath,'$ORIGIN'" />
<LinkerArg Include="-pthread" />
<LinkerArg Include="-lstdc++" />
<LinkerArg Include="-ldl" />