From dabfeb6dd80ec0cb053b9c087fe249c88b1a48c6 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 4 Apr 2021 13:10:53 +0200 Subject: [PATCH] Ports: Set freetype2 include path for SDL2_ttf It tried to use some headers from my host machine and failed to build. --- Ports/SDL2_ttf/package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Ports/SDL2_ttf/package.sh b/Ports/SDL2_ttf/package.sh index f44fb97348a..ca68480e28f 100755 --- a/Ports/SDL2_ttf/package.sh +++ b/Ports/SDL2_ttf/package.sh @@ -9,5 +9,6 @@ configure() { run ./configure \ --host="${SERENITY_ARCH}-pc-serenity" \ --with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr" \ + FT2_CFLAGS="-I${SERENITY_BUILD_DIR}/Root/usr/local/include/freetype2" \ LIBS="-lgui -lgfx -lipc -lcore -lcompress" }