Fix missing comma in backend.Backend.dedup_arguments()

This error meant that -I flags passed to the compiler were never
actually deduplicated.
pull/844/head
Sam Thursfield 8 years ago committed by Jussi Pakkanen
parent 08e43e8bfd
commit 24e50b2697
  1. 2
      mesonbuild/backend/backends.py

@ -620,7 +620,7 @@ class Backend():
final_commands = [] final_commands = []
previous = '-fsuch_arguments=woof' previous = '-fsuch_arguments=woof'
for c in commands: for c in commands:
if c.startswith(('-I' '-L', '/LIBPATH')): if c.startswith(('-I', '-L', '/LIBPATH')):
if c in includes: if c in includes:
continue continue
includes[c] = True includes[c] = True

Loading…
Cancel
Save