Skip to content

Commit

Permalink
fix: .S is an extension for asm file on Windows (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Zhao committed Aug 9, 2021
1 parent 27c1fb7 commit d2fad44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/gyp/generator/ninja.py
Expand Up @@ -1221,7 +1221,7 @@ def WriteSourcesForArch(
command = "cc_s"
elif (
self.flavor == "win"
and ext == "asm"
and ext in ("asm", "S")
and not self.msvs_settings.HasExplicitAsmRules(spec)
):
command = "asm"
Expand Down

0 comments on commit d2fad44

Please sign in to comment.