summaryrefslogtreecommitdiff
path: root/packaging/coreclr.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/coreclr.spec')
-rwxr-xr-xpackaging/coreclr.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 60ef571..4ccf547 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}