summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makethird b/Makethird
index f6f0cbbe..facd0c8e 100644
--- a/Makethird
+++ b/Makethird
@@ -157,7 +157,9 @@ $(HARFBUZZ_OUT):
$(MKDIR_CMD)
$(HARFBUZZ_OUT)/%.o: $(HARFBUZZ_DIR)/src/%.cc | $(HARFBUZZ_OUT)
$(CC_CMD) -DHAVE_OT -DHAVE_UCDN -DHB_NO_MT $(FREETYPE_CFLAGS) \
- -fno-rtti -fno-exceptions -fvisibility-inlines-hidden --std=c++0x
+ -Dhb_malloc_impl=hb_malloc -Dhb_calloc_impl=hb_calloc \
+ -Dhb_free_impl=hb_free -Dhb_realloc_impl=hb_realloc \
+ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden --std=c++0x
HARFBUZZ_CFLAGS := -I$(HARFBUZZ_DIR)/src
else