From d3e16d1dbff91246be4218e7ca7f80863ebcc5a1 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 21 Oct 2012 19:11:32 +0000 Subject: build: fix problems building fontconfig on osx If pkg-config is not installed, fontconfig fails to find libxml2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5025 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- contrib/fontconfig/module.defs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/fontconfig/module.defs b/contrib/fontconfig/module.defs index ba9752fd7..b06300222 100644 --- a/contrib/fontconfig/module.defs +++ b/contrib/fontconfig/module.defs @@ -81,6 +81,8 @@ FONTCONFIG.CONFIGURE.extra = \ ifeq (darwin,$(BUILD.system)) FONTCONFIG.CONFIGURE.extra += \ + LIBXML2_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lxml2" \ + LIBXML2_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/libxml2" \ --with-fcpath=/usr/X11/lib/X11/fontconfig \ --with-cache-dir=/usr/X11/var/cache/fontconfig else ifeq (linux,$(BUILD.system)) -- cgit v1.2.3