summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBoYanZh <bomingzh@sjtu.edu.cn>2021-05-29 09:37:21 +0200
committerGitHub <noreply@github.com>2021-05-29 09:37:21 +0200
commitfb6c6895fa10328821d53c0f2d7cb7d6540a2689 (patch)
tree2d4fc14731e86cb9364f05b07c849b541affbc5e /Makefile
parent[skip ci] Updated translations via Crowdin (diff)
downloadforgejo-fb6c6895fa10328821d53c0f2d7cb7d6540a2689.tar.xz
forgejo-fb6c6895fa10328821d53c0f2d7cb7d6540a2689.zip
fix get OS on some of the windows computers (#16007)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a27365aa9..6304508fb1 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,9 @@ endif
ifeq ($(OS), Windows_NT)
GOFLAGS := -v -buildmode=exe
EXECUTABLE ?= gitea.exe
+else ifeq ($(OS), Windows)
+ GOFLAGS := -v -buildmode=exe
+ EXECUTABLE ?= gitea.exe
else
GOFLAGS := -v
EXECUTABLE ?= gitea