Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build-proton-tc.sh: Work around ELF type bug in older versions of file
file versions 5.35 and older incorrectly report the type of ELF PIE executables as shared objects and vice versa -- the types appear to have been swapped. Version 5.32 is even more broken in that it reports both types as shared objects. Check for "interpreter" instead in file's output to work around this issue in our rpath setter. Tested versions of file: 5.37: ok 5.36: ok 5.35: broken (swapped) 5.32: broken (all shared objects) Signed-off-by: Danny Lin <danny@kdrag0n.dev>