%prep
%setup -q -n %{name}-%{version}
+
+%build
cp %{SOURCE1} .
%if 0%{skipmscorlib} && 0%{skipmanaged} && 0%{skipmanagedtools}
%ifarch %{arm} aarch64
# Detect interpreter name from cross-gcc
LD_INTERPRETER=$(patchelf --print-interpreter /emul/usr/bin/gcc)
+LD_LOCAL_INTERPRETER=$(patchelf --print-interpreter ./.dotnet/dotnet)
+
+%if "%{?LD_INTERPRETER}" == "%{?LD_LOCAL_INTERPRETER}"
+%else
LD_RPATH=$(patchelf --print-rpath /emul/usr/bin/gcc)
for file in $( find ./.dotnet ./.packages -name "dotnet" -type f -o -name "ilasm" -type f)
do
patchelf --set-rpath ${LD_RPATH}:%{_builddir}/%{name}-%{version}/libicu-57.1/ ${file}
done
%endif
+%endif
%ifarch %{ix86}
for file in $( find ./.dotnet ./.packages ./libicu-57.1 -iname "*.so" -or -iname "*.so.*" )
%endif
%endif
-%build
# disable asan build when global forced asan build
%{?asan:
export ASAN_OPTIONS=use_sigaltstack=false:`cat /ASAN_OPTIONS`