Skip to content

Commit

Permalink
Merge pull request #77413 from johannes-graner/fix-osx-build
Browse files Browse the repository at this point in the history
Allow the game to build on OSX
  • Loading branch information
akrieger authored Nov 6, 2024
2 parents dae649f + c1b4bc4 commit 99bd819
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 @@ -750,6 +750,8 @@ ifeq ($(TILES), 1)
LDFLAGS += -lSDL2_mixer
endif
endif
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags freetype2)
LDFLAGS += $(shell $(PKG_CONFIG) --libs freetype2)
else ifneq ($(NATIVE),emscripten)
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags sdl2)
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags SDL2_image SDL2_ttf)
Expand Down

0 comments on commit 99bd819

Please sign in to comment.