aboutsummaryrefslogtreecommitdiff
path: root/xorg
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-27 12:37:33 +0300
committerCem Keylan <cem@ckyln.com>2020-07-27 12:37:33 +0300
commit7e41e67e4ac94de6ab46abc41b8e21d6c74e0665 (patch)
tree13a0553bc2cfbb4b80c10f0580647388f908836b /xorg
parent6214ca71267815f05aca16fcedf73ed30e6442b1 (diff)
downloadrepository-7e41e67e4ac94de6ab46abc41b8e21d6c74e0665.tar.gz
freetype-harfbuzz: fix build
Diffstat (limited to 'xorg')
-rwxr-xr-xxorg/freetype-harfbuzz/build7
1 files changed, 5 insertions, 2 deletions
diff --git a/xorg/freetype-harfbuzz/build b/xorg/freetype-harfbuzz/build
index f7768ed0..fdca407a 100755
--- a/xorg/freetype-harfbuzz/build
+++ b/xorg/freetype-harfbuzz/build
@@ -15,12 +15,15 @@ build_freetype() (
build_harfbuzz() (
export DESTDIR="$1"
+ export CFLAGS="$CFLAGS -I$PWD/freetype/include"
+ export LIBS="-L$1/usr/lib -lfreetype"
cd harfbuzz
+
meson \
--prefix=/usr \
-Dglib=enabled \
- -Ddefault_library=static \
+ -Ddefault_library=both \
-Dicu=disabled \
-Dbenchmark=disabled \
. output
@@ -39,6 +42,6 @@ build_harfbuzz "$1"
# Point Freetype to the Harfbuzz files.
export HARFBUZZ_CFLAGS="-I$PWD/harfbuzz/src"
-export HARFBUZZ_LIBS="-L$PWD/harfbuzz/src/.libs -lharfbuzz"
+export HARFBUZZ_LIBS="-L$1/usr/lib -lharfbuzz"
build_freetype "$1" yes