mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01: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') |
||
---|---|---|
.. | ||
checks | ||
detections | ||
fragments | ||
generators | ||
__init__.py | ||
clang_compilation_database.py | ||
dependencies.py | ||
features.py | ||
inflector.py | ||
syms.py | ||
waf_customizations.py |