From dceb81aa77d011b3bae6a57b83cf002b8ff70412 Mon Sep 17 00:00:00 2001 From: Eblo <7004497+Eblo@users.noreply.github.com> Date: Sat, 1 Feb 2025 20:50:30 -0500 Subject: [PATCH] Attempt to fix macOS autobuild (cherry picked from commit 2cb0a75e57d6149c12c653914473d5ff556260fe) --- macos/Dependencies/common.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macos/Dependencies/common.make b/macos/Dependencies/common.make index f11623f5..793a8ddc 100644 --- a/macos/Dependencies/common.make +++ b/macos/Dependencies/common.make @@ -5,7 +5,8 @@ LIBDIR := $(BUILD_PREFIX)/lib INCLUDEDIR := $(BUILD_PREFIX)/include DOWNLOADS := ${PWD}/downloads/$(HOST) NPROC := $(shell sysctl -n hw.ncpu) -CFLAGS := -I$(INCLUDEDIR) $(TARGETFLAGS) $(DEFINES) -O3 +# Explicitly including freetype2 dir for now. macOS is having weird issues with ft2build.h +CFLAGS := -I$(INCLUDEDIR) -I$(INCLUDEDIR)/freetype2 $(TARGETFLAGS) $(DEFINES) -O3 LDFLAGS := -L$(LIBDIR) CC := clang -arch $(ARCH) PKG_CONFIG_LIBDIR := $(BUILD_PREFIX)/lib/pkgconfig