Don't modify apphost hardcoded path
Instead, rely on the path being set through /etc/dotnet/install_location. For more details, see https://github.com/dotnet/designs/blob/main/accepted/2020/install-locations.md
This commit is contained in:
parent
55ce24fc53
commit
e0cb209bff
@ -429,9 +429,6 @@ popd
|
|||||||
|
|
||||||
%autopatch -p1 -M 999
|
%autopatch -p1 -M 999
|
||||||
|
|
||||||
# Fix bad hardcoded path in build
|
|
||||||
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/runtime/src/native/corehost/hostmisc/pal.unix.cpp
|
|
||||||
|
|
||||||
%if ! %{use_bundled_libunwind}
|
%if ! %{use_bundled_libunwind}
|
||||||
sed -i -E 's|( /p:BuildDebPackage=false)|\1 --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' src/runtime/eng/SourceBuild.props
|
sed -i -E 's|( /p:BuildDebPackage=false)|\1 --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' src/runtime/eng/SourceBuild.props
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user