1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/waftools
bugmen0t 20d1fc132e build: prefer 4Front OSS to native implementations
If sys/soundcard.h is actually linux/soundcard.h then it supports only OSSv3
API. This may happen when OSSLIBDIR == /usr while forgetting to replace
sys/soundcard.h from glibc.

However, after fa620ff waf prefers native implementation which is inferior
on Linux. To fix try making waf prefer oss-audio-4front. It's quite unusual
to have 4Front OSS installed where native implementation is superior, anyway.
Signed-off-by: bugmen0t <@>

Make the false positives path also undef the 4Front define.
Signed-off-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>

Fixes #396
2013-12-07 17:04:34 +01:00
..
checks build: prefer 4Front OSS to native implementations 2013-12-07 17:04:34 +01:00
detections build: add -mwin32 on cygwin 2013-11-26 00:33:40 +01:00
fragments build: reimplement the OSS checks using a more declarative approach 2013-11-29 23:11:12 +01:00
generators switch the build system to waf 2013-11-21 21:22:36 +01:00
__init__.py switch the build system to waf 2013-11-21 21:22:36 +01:00
dependencies.py build: make deps_neg work with multiple dependencies 2013-11-29 23:31:17 +01:00
features.py switch the build system to waf 2013-11-21 21:22:36 +01:00
inflectors.py switch the build system to waf 2013-11-21 21:22:36 +01:00
waf_customizations.py build: remove spam generated by link task 2013-11-22 19:12:43 +01:00