Skip to content

capture-libs: Don't capture results of path-match if they are other ABIs

Simon McVittie requested to merge smcv/libcapsule:cope-with-other-abi into master

On Red Hat-derived OSs, /usr/lib/dri contains 32-bit drivers (with their 64-bit equivalents in /usr/lib64/dri), but on Arch Linux-derived OSs it contains 64-bit drivers (with their 32-bit equivalents in /usr/lib32/dri). As a result, we have to run both i386-linux-gnu-capsule-capture-libs and x86_64-linux-gnu-capsule-capture-libs against if-exists:path-match:/usr/lib/dri/*.so, ignoring anything we find that is of the other word-size.


Partial solution to https://phabricator.collabora.com/T15920

Edited by Simon McVittie

Merge request reports