summaryrefslogtreecommitdiffstats
path: root/waftools/checks/custom.py
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2015-07-26 15:00:47 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2015-07-26 15:00:47 +0200
commita3a453b69b4e1d9230e3f7a291a606afc59f9708 (patch)
tree2be7ee58ca1aab140efb605e034148d90d024137 /waftools/checks/custom.py
parent616d1510a71228e5b87a19a7b65dbeba36e57462 (diff)
downloadmpv-a3a453b69b4e1d9230e3f7a291a606afc59f9708.tar.bz2
mpv-a3a453b69b4e1d9230e3f7a291a606afc59f9708.tar.xz
build: remove useless class
Diffstat (limited to 'waftools/checks/custom.py')
-rw-r--r--waftools/checks/custom.py5
1 files changed, 2 insertions, 3 deletions
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")