summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBoYanZh <bomingzh@sjtu.edu.cn>2021-05-29 15:37:21 +0800
committerGitHub <noreply@github.com>2021-05-29 08:37:21 +0100
commitfb6c6895fa10328821d53c0f2d7cb7d6540a2689 (patch)
tree2d4fc14731e86cb9364f05b07c849b541affbc5e /Makefile
parent461915daa69149780e94048514eaf10427b18589 (diff)
downloadgitea-fb6c6895fa10328821d53c0f2d7cb7d6540a2689.tar.gz
gitea-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