summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-10-21 19:11:32 +0000
committerjstebbins <[email protected]>2012-10-21 19:11:32 +0000
commitd3e16d1dbff91246be4218e7ca7f80863ebcc5a1 (patch)
treec18541c66382b31576b69bf896949cbe4ecab227 /contrib
parent670f58fa36105d3e80f72b00698eed801f7fbe62 (diff)
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fontconfig/module.defs2
1 files changed, 2 insertions, 0 deletions
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))