Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    eec5cfd5
    wrap: Include all known NVIDIA libraries, except for libnvidia-gtk* · eec5cfd5
    Simon McVittie authored
    
    The NVIDIA proprietary EGL, GLES and Vulkan ICDs depend on
    libnvidia-eglcore and libnvidia-glvkspirv, but do not have DT_NEEDED
    entries for them (presumably they dlopen() them instead).
    capsule-capture-libs can only follow DT_NEEDED entries, so we have to
    special-case those hidden dependencies.
    
    Ideally we'd have a syntax for "libnvidia-*.so.* except libnvidia-gtk*",
    but currently we don't, so just include all the known libraries.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    eec5cfd5
    History
    wrap: Include all known NVIDIA libraries, except for libnvidia-gtk*
    Simon McVittie authored
    
    The NVIDIA proprietary EGL, GLES and Vulkan ICDs depend on
    libnvidia-eglcore and libnvidia-glvkspirv, but do not have DT_NEEDED
    entries for them (presumably they dlopen() them instead).
    capsule-capture-libs can only follow DT_NEEDED entries, so we have to
    special-case those hidden dependencies.
    
    Ideally we'd have a syntax for "libnvidia-*.so.* except libnvidia-gtk*",
    but currently we don't, so just include all the known libraries.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
wrap.c 87.72 KiB