mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 07:10:16 -07:00
freetype-harfbuzz: Fix build.
Harfbuzz wasn't linking to Freetype if it was not already installed.
This commit is contained in:
parent
e6130bf955
commit
baf0829aaf
@ -14,18 +14,23 @@ build_freetype() (
|
||||
)
|
||||
|
||||
build_harfbuzz() (
|
||||
# Point Harfbuzz to the Freetype files.
|
||||
export CFLAGS="$CFLAGS -I$1/usr/include/freetype2"
|
||||
export CXXFLAGS="$CXXFLAGS -I$1/usr/include/freetype2"
|
||||
export LDFLAGS="$LDFLAGS -L$1/usr/lib"
|
||||
|
||||
cd harfbuzz
|
||||
|
||||
export DESTDIR="$1"
|
||||
|
||||
meson \
|
||||
--default-library=both \
|
||||
--prefix=/usr \
|
||||
-Dfreetype=enabled \
|
||||
-Dglib=enabled \
|
||||
-Dfreetype=enabled \
|
||||
-Ddefault_library=both \
|
||||
-Dicu=disabled \
|
||||
-Dbenchmark=disabled \
|
||||
-Dtests=disabled \
|
||||
-Dpkg_config_path="$1/usr/lib/pkgconfig" \
|
||||
. output
|
||||
|
||||
ninja -C output
|
||||
@ -33,11 +38,6 @@ build_harfbuzz() (
|
||||
)
|
||||
|
||||
build_freetype "$1" no
|
||||
|
||||
# Point Harfbuzz to the Freetype files.
|
||||
export FREETYPE_CFLAGS="-I$PWD/freetype/include"
|
||||
export FREETYPE_LIBS="-L$1/usr/lib -lfreetype"
|
||||
|
||||
build_harfbuzz "$1"
|
||||
|
||||
# Point Freetype to the Harfbuzz files.
|
||||
|
@ -1 +1 @@
|
||||
2.10.2+2.7.0 1
|
||||
2.10.2+2.7.0 2
|
||||
|
Loading…
Reference in New Issue
Block a user