From a3a453b69b4e1d9230e3f7a291a606afc59f9708 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 26 Jul 2015 15:00:47 +0200 Subject: build: remove useless class --- waftools/checks/custom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'waftools/checks/custom.py') diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index dfda55276d..dcdaf2f7ac 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -1,4 +1,4 @@ -from waftools.inflectors import DependencyInflector +from waftools import inflector from waftools.checks.generic import * from waflib import Utils import os @@ -88,8 +88,7 @@ def check_oss_4front(ctx, dependency_identifier): # avoid false positive from native sys/soundcard.h if not oss_libdir: - defkey = DependencyInflector(dependency_identifier).define_key() - ctx.undefine(defkey) + ctx.undefine(inflector.define_key(dependency_identifier)) return False soundcard_h = os.path.join(oss_libdir, "include/sys/soundcard.h") -- cgit v1.2.3