• Timo Rothenpieler's avatar
    configure: call flatten_extralibs in a subshell · 4fb20d4e
    Timo Rothenpieler authored
    By putting the call in a subshell, the problem of it spilling
    cleanup-decision from a previous library to other libraries is avoided.
    
    For example, it could have already cleaned up cuda_extralibs in a
    previous library that depended on cuda. Then when it gets to avutil, it
    will never pick up the dependency of avutil to cuda, which depends on
    libdl, which in turn results in a missing -ldl extralib, resulting in
    link failures in certain configurations.
    4fb20d4e
configure 227 KB