From: Yamagi <yamagi@yamagi.org>
Date: Tue, 21 Apr 2020 13:39:46 +0200
Subject: Resolve oversight in last commit.

Origin: upstream, CTF 1.08, commit:26019096ee8d0d83dbf4d53710f509123ae33f61
---
 ctf/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ctf/Makefile b/ctf/Makefile
index fedf9ad..9cd24ac 100755
--- a/ctf/Makefile
+++ b/ctf/Makefile
@@ -146,7 +146,7 @@ override LDFLAGS += -shared
 # Required libaries
 ifeq ($(YQ2_OSTYPE), Darwin)
 override LDFLAGS += -arch $(YQ2_ARCH)
-else ifeq ($(OSTYPE), Windows)
+else ifeq ($(YQ2_OSTYPE), Windows)
 override LDFLAGS += -static-libgcc
 else
 override LDFLAGS += -lm
@@ -183,12 +183,12 @@ clean:
 # ----------
 
 # The ctf game
-ifeq ($(OSTYPE), Windows)
+ifeq ($(YQ2_OSTYPE), Windows)
 ctf:
 	@echo "===> Building game.dll"
 	$(Q)mkdir -p release
 	$(MAKE) release/game.dll
-else ifeq ($(OSTYPE), Darwin)
+else ifeq ($(YQ2_OSTYPE), Darwin)
 ctf:
 	@echo "===> Building game.dylib"
 	${Q}mkdir -p release
