fontconfig: specify font directory in EXTRA_OECONF

since, otherwise, fontconfig's builtin default may not match ${datadir}.

(From OE-Core rev: 99d8d574f15d6bd2294b340da20bd9a47af79f9f)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Phil Blundell 2011-06-27 16:24:08 +01:00 committed by Richard Purdie
parent 8064c63290
commit ff997f4582
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ SECTION = "libs"
DEPENDS = "expat freetype zlib"
PR = "r1"
PR = "r3"
SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
file://fix-pkgconfig.patch \
@ -45,7 +45,7 @@ inherit autotools pkgconfig
export HASDOCBOOK="no"
EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH}"
EXTRA_OECONF = " --disable-docs --with-arch=${HOST_ARCH} --with-default-fonts=${datadir}/fonts"
EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"
# The tarball has some of the patched files as read only, which