From ded99df98ad2de728e584516b0677973259618e0 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 25 Nov 2013 22:23:27 +0100 Subject: 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). --- waftools/checks/custom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'waftools/checks') 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): -- cgit v1.2.3