From 93c688d1e1f9616e9b749942fd9ae68ad6c03bb2 Mon Sep 17 00:00:00 2001 From: Nikolai Merinov Date: Tue, 29 Jan 2019 16:59:27 +0300 Subject: Detect interpreter from echo instead of gcc --- packaging/coreclr.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec index 60ef571a9b..4ccf547f32 100755 --- a/packaging/coreclr.spec +++ b/packaging/coreclr.spec @@ -122,9 +122,9 @@ EOF %else %ifarch %{arm} %{ix86} %ifarch %{arm} -# Detect interpreter name from cross-gcc -LD_INTERPRETER=$(patchelf --print-interpreter /emul/usr/bin/gcc) -LD_RPATH=$(patchelf --print-rpath /emul/usr/bin/gcc) +# Detect interpreter name from echo +LD_INTERPRETER=$(patchelf --print-interpreter /emul/usr/bin/echo) +LD_RPATH=$(patchelf --print-rpath /emul/usr/bin/echo) for file in $( find ./Tools -name "dotnet" -type f) do patchelf --set-interpreter ${LD_INTERPRETER} ${file} -- cgit v1.2.3