aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2016-10-01 01:47:27 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2016-10-01 15:09:25 -0400
commit24e50b2697410da10e99954cd26c4e41548fca0f (patch)
tree5339256449dc63d67249190073e30e1040810d78
parent08e43e8bfd150252b3e05ff62ee25cdf0e519f20 (diff)
downloadmeson-24e50b2697410da10e99954cd26c4e41548fca0f.zip
meson-24e50b2697410da10e99954cd26c4e41548fca0f.tar.gz
meson-24e50b2697410da10e99954cd26c4e41548fca0f.tar.bz2
Fix missing comma in backend.Backend.dedup_arguments()
This error meant that -I flags passed to the compiler were never actually deduplicated.
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index bdbfee1..ec897aa 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -620,7 +620,7 @@ class Backend():
final_commands = []
previous = '-fsuch_arguments=woof'
for c in commands:
- if c.startswith(('-I' '-L', '/LIBPATH')):
+ if c.startswith(('-I', '-L', '/LIBPATH')):
if c in includes:
continue
includes[c] = True