Skip to content

Commit 2081393

Browse files
committed
Replace patched harfbuzz.pc
Wen HarfBuzz-enabled FreeType is built, HarfBuzz gets located via its pc-file which references FreeType’s pc-file. If there’s no such pc-file in the search path it errors out. Add the previously built HarfBuzz-less FreeType’s pc-file to the search path to avoid this. It has no ill effect on the static lib we build.
1 parent 0d3cb9f commit 2081393

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ $(DIST_DIR)/lib/libharfbuzz.a: build/lib/freetype/build_hb/dist_hb/lib/libfreety
178178
# Freetype with Harfbuzz
179179
$(DIST_DIR)/lib/libfreetype.a: $(DIST_DIR)/lib/libharfbuzz.a $(DIST_DIR)/lib/libbrotlidec.a
180180
cd build/lib/freetype && \
181-
EM_PKG_CONFIG_PATH=$(DIST_DIR)/lib/pkgconfig \
181+
EM_PKG_CONFIG_PATH=$(DIST_DIR)/lib/pkgconfig:$(BASE_DIR)build/lib/freetype/build_hb/dist_hb/lib/pkgconfig \
182182
emconfigure ./configure \
183183
CFLAGS=" \
184184
-s USE_PTHREADS=0 \

build/patches/harfbuzz/0002-disable-dependency-build.patch

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)