mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 925894 - Normalize cl generated dependencies before testing for spaces in them. p=glandium, r=gps
This commit is contained in:
parent
ecd84446bf
commit
a72bc0e1f1
@ -76,8 +76,9 @@ def InvokeClWithDependencyGeneration(cmdline):
|
||||
# We can't handle pathes with spaces properly in mddepend.pl, but
|
||||
# we can assume that anything in a path with spaces is a system
|
||||
# header and throw it away.
|
||||
dep = normcase(dep)
|
||||
if ' ' not in dep:
|
||||
rule.add_dependencies([normcase(dep)])
|
||||
rule.add_dependencies([dep])
|
||||
else:
|
||||
# Make sure we preserve the relevant output from cl. mozprocess
|
||||
# swallows the newline delimiter, so we need to re-add it.
|
||||
|
@ -76,8 +76,9 @@ def InvokeClWithDependencyGeneration(cmdline):
|
||||
# We can't handle pathes with spaces properly in mddepend.pl, but
|
||||
# we can assume that anything in a path with spaces is a system
|
||||
# header and throw it away.
|
||||
dep = normcase(dep)
|
||||
if ' ' not in dep:
|
||||
rule.add_dependencies([normcase(dep)])
|
||||
rule.add_dependencies([dep])
|
||||
else:
|
||||
# Make sure we preserve the relevant output from cl. mozprocess
|
||||
# swallows the newline delimiter, so we need to re-add it.
|
||||
|
Loading…
Reference in New Issue
Block a user