From c1b4bc406059a30f0348f72cfe54041d3649c183 Mon Sep 17 00:00:00 2001 From: Johannes Graner Date: Mon, 28 Oct 2024 20:45:38 +0100 Subject: [PATCH] Include freetype2 library when compiling on MacOS --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ceb6a337f9545..f09f233b0a8c6 100644 --- a/Makefile +++ b/Makefile @@ -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)