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 build: add option to generate a clang compilation database 2015-02-05 21:06:34 +01:00
dependencies.py build: Set a default error message for #3692 2016-10-21 17:11:26 +02:00
features.py build: hide duplicate options from `--help` 2013-12-26 10:09:17 +01:00
inflector.py build: remove useless class 2015-07-26 15:00:47 +02:00
syms.py build: syms: reindent 2014-08-05 12:57:34 +02:00
waf_customizations.py build: fix Python 3 unicode issue with waf 1.8.6 2015-02-19 09:40:50 +01:00