summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/coreclr.spec6
1 files 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}