aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools/generators
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/generators')
-rw-r--r--waftools/generators/headers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/waftools/generators/headers.py b/waftools/generators/headers.py
index dbedcc0865..3c83292f7e 100644
--- a/waftools/generators/headers.py
+++ b/waftools/generators/headers.py
@@ -15,10 +15,10 @@ def __escape_c_string(s):
return s.replace("\"", "\\\"").replace("\n", "\\n")
def __get_features_string__(ctx):
- from inflectors import DependencyInflector
+ import inflector
stuff = []
for dependency_identifier in ctx.satisfied_deps:
- defkey = DependencyInflector(dependency_identifier).define_key()
+ defkey = inflector.define_key(dependency_identifier)
if ctx.is_defined(defkey) and ctx.get_define(defkey) == "1":
stuff.append(dependency_identifier)
stuff.sort()