mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 18:20:26 +09:00
Do not quote rpath passed to linker for Bionic (#87669)
* Do not quote rpath passed to linker Looks like this is preserved literally, with the `'`. The Android loader doesn't like this: `WARNING: linker: Warning: unable to normalize "'/data/data/com.termux/files/home'" (ignoring)`. * Update Microsoft.NETCore.Native.Unix.targets * Apply suggestions from code review Co-authored-by: Jan Kotas <jkotas@microsoft.com> --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com>
This commit is contained in:
parent
8547ce623b
commit
95b6115c02
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ The .NET Foundation licenses this file to you under the MIT license.
|
|||
<LinkerArg Include="-arch $(CrossCompileArch)" Condition="'$(_IsApplePlatform)' == 'true' and '$(CrossCompileArch)' != ''" />
|
||||
<LinkerArg Include="-g" Condition="$(NativeDebugSymbols) == 'true'" />
|
||||
<LinkerArg Include="-Wl,--strip-debug" Condition="$(NativeDebugSymbols) != 'true' and '$(_IsApplePlatform)' != 'true'" />
|
||||
<LinkerArg Include="-Wl,-rpath,'$(IlcRPath)'" Condition="'$(StaticExecutable)' != 'true'" />
|
||||
<LinkerArg Include="'-Wl,-rpath,$(IlcRPath)'" Condition="'$(StaticExecutable)' != 'true'" />
|
||||
<LinkerArg Include="-Wl,--build-id=sha1" Condition="'$(_IsApplePlatform)' != 'true'" />
|
||||
<LinkerArg Include="-Wl,--as-needed" Condition="'$(_IsApplePlatform)' != 'true'" />
|
||||
<LinkerArg Include="-Wl,-e0x0" Condition="'$(NativeLib)' == 'Shared' and '$(_IsApplePlatform)' != 'true'" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue