Skip to content

Commit d2fad44

Browse files
author
Cheng Zhao
authored
fix: .S is an extension for asm file on Windows (#115)
1 parent 27c1fb7 commit d2fad44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylib/gyp/generator/ninja.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def WriteSourcesForArch(
12211221
command = "cc_s"
12221222
elif (
12231223
self.flavor == "win"
1224-
and ext == "asm"
1224+
and ext in ("asm", "S")
12251225
and not self.msvs_settings.HasExplicitAsmRules(spec)
12261226
):
12271227
command = "asm"

0 commit comments

Comments
 (0)