mpv/waftools
kwkam d9ef1333c6 waftools/checks/generic: hacks for linking against static/shared libs
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')
2017-01-28 14:02:36 +01:00
..
checks waftools/checks/generic: hacks for linking against static/shared libs 2017-01-28 14:02:36 +01:00
detections win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
fragments cocoa: cosmetic fixes 2016-12-16 16:32:26 +01:00
generators build: always run code generators before compiling 2017-01-07 15:00:22 +01:00
__init__.py
clang_compilation_database.py
dependencies.py build: Set a default error message for #3692 2016-10-21 17:11:26 +02:00
features.py
inflector.py
syms.py
waf_customizations.py