mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 09:25:56 +00:00
d9ef1333c6
When mpv is being linked against static libraries which have shared libraries as dependencies, linker will throw error because pkg-config with --static flag will return shared libraries which will be placed under the -Wl,-Bstatic section, while pkg-config without --static flag will omit the private libraries required to link the static library. With this function users can modify the wscript to insert the dependencies when necessary. For example, linking FFmpeg with shared OpenSSL and zlib: 'func': check_pkg_config_mixed(['crypto','ssl','z'], 'libavcodec') |
||
---|---|---|
.. | ||
__init__.py | ||
custom.py | ||
generic.py |