Skip to content

Commit

Permalink
Define the MACOS_X flag for macOS builds
Browse files Browse the repository at this point in the history
This makes the game look for its files in the right place on macOS.
  • Loading branch information
Perlence committed Sep 5, 2023
1 parent e445088 commit ac7a93e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,8 @@ ifeq ($(COMPILE_PLATFORM),darwin)

BASE_CFLAGS += -Wno-unused-result

BASE_CFLAGS += -DMACOS_X

OPTIMIZE = -O2 -fvisibility=hidden

SHLIBEXT = dylib
Expand Down

0 comments on commit ac7a93e

Please sign in to comment.