BinaryBuilder.jl
BinaryBuilder.jl copied to clipboard
Prune `/opt` subdirectories from runpath
We've seen libraries with runpath settings like
0x000000000000001d (RUNPATH) Library runpath: [/opt/x86_64-linux-gnu/x86_64-linux-gnu/sys-root/usr/local/lib:$ORIGIN]
We should prune /opt
directories from runpath, as we already do for /workspace
. Look at #1186 for inspiration. Of course, any PR fixing this should also add a test.