]> git.sesse.net Git - ffmpeg/commit
configure: call flatten_extralibs in a subshell
authorTimo Rothenpieler <timo@rothenpieler.org>
Mon, 13 Nov 2017 22:43:51 +0000 (23:43 +0100)
committerTimo Rothenpieler <timo@rothenpieler.org>
Thu, 16 Nov 2017 16:39:39 +0000 (17:39 +0100)
commit4fb20d4e3a48b2008a13fc11ba75015ded2c2fc2
tree4b004b15637a7ac55a8d83becd35792030b023ac
parentedef07569ccc4e10151c676bfd440412c8592f31
configure: call flatten_extralibs in a subshell

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.
configure