Skip to content

Commit b2744cf

Browse files
committed
Fix regex
1 parent 26537a1 commit b2744cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymsbuild/_tags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def remap_platform_to_msbuild(platform_tag):
2121
try:
2222
return _TAG_PLATFORM_MAP[platform_tag]
2323
except LookupError:
24-
if re.match(r"(manylinux_macosx).+?_x86_64", platform_tag):
24+
if re.match(r"(manylinux|macosx).+?_x86_64", platform_tag):
2525
return "POSIX_x64"
26-
if re.match(r"(manylinux_macosx).+?_aarch64", platform_tag):
26+
if re.match(r"(manylinux|macosx).+?_aarch64", platform_tag):
2727
return "POSIX_ARM64"
2828
raise
2929

0 commit comments

Comments
 (0)