1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00

build: don't abort if our OSS implementation isn't from 4Front

Original commit was implemented differently by @bugmen0t. The problem here was
that the waf API was called directly, instead of using our own check_cc (which
defaults, among other things, to non mandatory checks).
This commit is contained in:
Stefano Pigozzi 2013-11-25 22:23:27 +01:00
parent ccb50bfdae
commit ded99df98a

View File

@ -99,9 +99,9 @@ def __get_osscflags__():
return osscflags
def __check_oss_headers__(ctx, dependency_identifier):
ctx.check_cc(fragment=load_fragment('oss_audio_header.c'), use='soundcard',
cflags=__get_osscflags__())
fn = check_cc(fragment=load_fragment('oss_audio_header.c'),
use='soundcard', cflags=__get_osscflags__())
fn(ctx, dependency_identifier)
return True
def __check_oss_bsd__(ctxdependency_identifier):