summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autowaf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autowaf.py b/autowaf.py
index 9468dc1..47dac6e 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -256,7 +256,7 @@ def use_lib(bld, obj, libs):
inc_flag = '-iquote ' + os.path.join(abssrcdir, l.lower())
for f in ['CFLAGS', 'CXXFLAGS']:
if not inc_flag in bld.env[f]:
- bld.env.append_value(f, inc_flag)
+ bld.env.prepend_value(f, inc_flag)
else:
append_property(obj, 'uselib', ' ' + l)