diff options
author | Sergiy Kuryata <sergeyk@microsoft.com> | 2017-05-11 20:55:46 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-05-11 20:55:46 +0300 |
commit | e4db93bb495383782b4e1e6c5181356b72cbff88 (patch) | |
tree | e46990436eb1070e85370a8f1ff3de1bd153ba25 /src | |
parent | ee48224b76c9b40a2f6f7ae9ddb24ee4277b7545 (diff) |
Enable RPATH for CoreRT applications on Linux (#3592)
Diffstat (limited to 'src')
-rw-r--r-- | src/BuildIntegration/Microsoft.NETCore.Native.Unix.props | 1 |
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" /> |