From ac7a93e7fe08a12fd344c0420c97e9e7c2e35284 Mon Sep 17 00:00:00 2001 From: Sviatoslav Abakumov Date: Tue, 5 Sep 2023 19:36:22 +0400 Subject: [PATCH] Define the MACOS_X flag for macOS builds This makes the game look for its files in the right place on macOS. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d5abfde47..67d05e7fa 100644 --- a/Makefile +++ b/Makefile @@ -466,6 +466,8 @@ ifeq ($(COMPILE_PLATFORM),darwin) BASE_CFLAGS += -Wno-unused-result + BASE_CFLAGS += -DMACOS_X + OPTIMIZE = -O2 -fvisibility=hidden SHLIBEXT = dylib