Fixing possible issue with remove()
on StringVec
There is not remove() on StringVec so we need to make sure we are always handling a list. Fixes #347.
This commit is contained in:
parent
5ed63a4afe
commit
612ab6e43a
@ -101,7 +101,7 @@ def DirectoryOfThisScript():
|
|||||||
|
|
||||||
def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
|
def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
|
||||||
if not working_directory:
|
if not working_directory:
|
||||||
return flags
|
return list( flags )
|
||||||
new_flags = []
|
new_flags = []
|
||||||
make_next_absolute = False
|
make_next_absolute = False
|
||||||
path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]
|
path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user