Skip to content

Commit

Permalink
fix: failure when build directory contains spaces (nodejs#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
davej committed Nov 25, 2021
1 parent f5fa6b8 commit fc480dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyp/pylib/gyp/generator/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ def WriteSources(
includes = config.get("include_dirs")
if includes:
includes = [Sourceify(self.Absolutify(i)) for i in includes]
self.WriteList(includes, "INCS_%s" % configname, prefix="-I")
self.WriteList(includes, "INCS_%s" % configname, prefix="-I", quoter=EscapeShellArgument)

compilable = list(filter(Compilable, sources))
objs = [self.Objectify(self.Absolutify(Target(c))) for c in compilable]
Expand Down

0 comments on commit fc480dd

Please sign in to comment.