alternate exe suffix for windows

Signed-off-by: Gregory Becker <becker33@llnl.gov>
This commit is contained in:
Gregory Becker 2025-03-27 14:54:17 -07:00 committed by Harmen Stoppels
parent b7f27d799a
commit 69f5908d40

View File

@ -59,7 +59,7 @@ def install(self, spec, prefix):
@classmethod
def determine_version(cls, exe):
if not exe.name.endswith(".exe"):
if not exe.name.endswith(".exe") and not exe.name.endswith(".bat"):
# Not on windows, can't possibly be msvc
return