فهرست منبع

Ports: Set freetype2 include path for SDL2_ttf

It tried to use some headers from my host machine and failed to build.
Linus Groh 4 سال پیش
والد
کامیت
dabfeb6dd8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Ports/SDL2_ttf/package.sh

+ 1 - 0
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"
 }