summaryrefslogtreecommitdiffstats
path: root/ta/ta.h
diff options
context:
space:
mode:
authorkwkam <kwkam@users.noreply.github.com>2017-01-28 20:01:42 +0800
committerwm4 <wm4@nowhere>2017-01-28 14:02:36 +0100
commitd9ef1333c6ada98f4b71c20e0a6aa02ed55983c9 (patch)
tree0a592d631d79d2f37c819e215c5296ba6ad15667 /ta/ta.h
parentd41f25009d12b27395651d47b0601b3efebdda2a (diff)
downloadmpv-d9ef1333c6ada98f4b71c20e0a6aa02ed55983c9.tar.bz2
mpv-d9ef1333c6ada98f4b71c20e0a6aa02ed55983c9.tar.xz
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')
Diffstat (limited to 'ta/ta.h')
0 files changed, 0 insertions, 0 deletions