diff --git a/recipes/harfbuzz/recipe.sh b/recipes/harfbuzz/recipe.sh index 0f8a4ba04de4a3028fb5f49b97bf904266c25f45..0b3980bf6d72c3ec123393cf63ebd5efef06ba96 100644 --- a/recipes/harfbuzz/recipe.sh +++ b/recipes/harfbuzz/recipe.sh @@ -1,6 +1,6 @@ VERSION=2.3.0 TAR=https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$VERSION.tar.bz2 -BUILD_DEPENDS=(freetype libpng zlib) +BUILD_DEPENDS=(freetype gettext glib libiconv libpng pcre zlib) function recipe_version { echo "$VERSION" @@ -15,7 +15,7 @@ function recipe_update { function recipe_build { sysroot="$(realpath ../sysroot)" export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib" + export LDFLAGS="-L$sysroot/lib --static" #wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub FREETYPE_CFLAGS="$("${PKG_CONFIG}" --cflags freetype2)" FREETYPE_LIBS="$("${PKG_CONFIG}" --libs freetype2)" @@ -25,9 +25,10 @@ function recipe_build { --prefix=/ \ --disable-shared \ --enable-static \ + --with-glib=yes \ --with-freetype=yes \ --with-icu=no - make -j"$(nproc)" V=1 + make -j"$(nproc)" skip=1 }