Skip to content

Commit 9db7680

Browse files
committed
Makefile: change the condition for executing the Windows version check from GOOS to GOHOSTOS.
This is something we plan to remove in the future, but for now, we'll keep it. Signed-off-by: Norio Nomura <[email protected]>
1 parent d7075c5 commit 9db7680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ GO_BUILDTAGS += no_vz
3030
endif
3131
endif
3232

33-
ifeq ($(GOOS),windows)
33+
ifeq ($(GOHOSTOS),windows)
3434
WINVER_MAJOR=$(shell powershell.exe "[System.Environment]::OSVersion.Version.Major")
3535
ifeq ($(WINVER_MAJOR),10)
3636
WINVER_BUILD=$(shell powershell.exe "[System.Environment]::OSVersion.Version.Build")

0 commit comments

Comments
 (0)