opengl: Mimetype no longer detects shared libraries after pie issues
This commit is contained in:
@@ -149,12 +149,7 @@ VGL_isTestAllS() {
|
||||
#
|
||||
VGL_isElfBin() {
|
||||
declare file=$1
|
||||
case "$(file -b -N --mime-type "$file")" in
|
||||
application/x-executable | application/x-pie-executable)
|
||||
return 0 ;;
|
||||
*)
|
||||
return 1 ;;
|
||||
esac
|
||||
patchelf --print-interpreter "$file" &>/dev/null
|
||||
}
|
||||
|
||||
# Check for libGL
|
||||
|
||||
Reference in New Issue
Block a user