diff options
-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" /> |