summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-25 22:23:27 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-11-25 22:26:39 +0100
commitded99df98ad2de728e584516b0677973259618e0 (patch)
tree87a1774e6f27885456e9801079f18ec35caab1b6 /waftools
parentccb50bfdae7b6b6eb71be34aeec8c1001e5bb499 (diff)
downloadmpv-ded99df98ad2de728e584516b0677973259618e0.tar.bz2
mpv-ded99df98ad2de728e584516b0677973259618e0.tar.xz
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).
Diffstat (limited to 'waftools')
-rw-r--r--waftools/checks/custom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index 6323fcc5e3..9db0c1d45d 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -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):