Skip to content
  • Simon McVittie's avatar
    capture-libs: Don't capture results of path-match if they are other ABIs · 723acab2
    Simon McVittie authored
    
    
    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.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    723acab2