summaryrefslogtreecommitdiff
path: root/Ports/SDL2_ttf
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-04-04 13:10:53 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-04 17:42:50 +0200
commitdabfeb6dd80ec0cb053b9c087fe249c88b1a48c6 (patch)
treeb2a5bb0855e088c24281c4a584904dec64571b39 /Ports/SDL2_ttf
parentb34f1941681a8ca5166e8019950dd2bdeab1f0e8 (diff)
downloadserenity-dabfeb6dd80ec0cb053b9c087fe249c88b1a48c6.zip
Ports: Set freetype2 include path for SDL2_ttf
It tried to use some headers from my host machine and failed to build.
Diffstat (limited to 'Ports/SDL2_ttf')
-rwxr-xr-xPorts/SDL2_ttf/package.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ports/SDL2_ttf/package.sh b/Ports/SDL2_ttf/package.sh
index f44fb97348..ca68480e28 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"
}