From a3bef3e2854eab2614a48d737328b01a6e257dd7 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 25 Apr 2017 12:37:45 +0200 Subject: [PATCH] makepanda: allow building without harfbuzz --- makepanda/makepanda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 66b3f57545..af4cb2dca5 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -3809,7 +3809,8 @@ if (PkgSkip("FREETYPE")==0 and not RUNTIME): # if (not RUNTIME): - DefSymbol("HARFBUZZ", "HAVE_HARFBUZZ") + if not PkgSkip("HARFBUZZ"): + DefSymbol("HARFBUZZ", "HAVE_HARFBUZZ") OPTS=['DIR:panda/src/text', 'BUILDING:PANDA', 'ZLIB', 'FREETYPE', 'HARFBUZZ'] TargetAdd('p3text_composite1.obj', opts=OPTS, input='p3text_composite1.cxx')