Commit 25dac245 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play edge: fix binary interpreter (ALT bug 41921)

parent 3a46cac1
......@@ -24,3 +24,9 @@ subst "s|.*/usr/share/menu/microsoft-edge-dev.menu.*||" $SPEC
if ! grep -q '^"/usr/bin/microsoft-edge"' $SPEC ; then
subst 's|\(.*/usr/bin/microsoft-edge-dev.*\)|"/usr/bin/microsoft-edge"\n\1|' $SPEC
fi
# fix wrong interpreter
epm assure patchelf || exit
for i in $BUILDROOT/opt/microsoft/msedge-dev/libmip_*.so ; do
[ "$(a= patchelf --print-interpreter $i)" = "/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2" ] && a= patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 $i
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment