summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):