Forráskód Böngészése

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 éve
szülő
commit
dabfeb6dd8
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      Ports/SDL2_ttf/package.sh

+ 1 - 0
Ports/SDL2_ttf/package.sh

@@ -9,5 +9,6 @@ configure() {
     run ./configure \
     run ./configure \
         --host="${SERENITY_ARCH}-pc-serenity" \
         --host="${SERENITY_ARCH}-pc-serenity" \
         --with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr" \
         --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"
         LIBS="-lgui -lgfx -lipc -lcore -lcompress"
 }
 }