Get rid of a host-dependency.
authorThomas Lundquist <lists@zelow.no>
Sat, 10 Jan 2009 13:47:18 +0000 (13:47 -0000)
committerThomas Lundquist <lists@zelow.no>
Sat, 10 Jan 2009 13:47:18 +0000 (13:47 -0000)
package/fontconfig/fontconfig.mk

index 06872c45af89d90ce5e1c43a91623643e4f1da99..98c56aa169e8ddb2a661c2c0d2a1ca67fbe26c90 100644 (file)
@@ -11,7 +11,7 @@ FONTCONFIG_USE_CONFIG_CACHE = NO
 FONTCONFIG_INSTALL_STAGING = YES
 FONTCONFIG_INSTALL_TARGET = YES
 # This package does not like using the target cflags for some reason.
-FONTCONFIG_CONF_ENV = CFLAGS=
+FONTCONFIG_CONF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"
 
 FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
                --with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \