add include path, pointing to the actual qt4-source directory, to CFLAGS - otherwise header files in $STAGING_DIR, if any, will be preferred, which might fail in certain circumstances

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22260 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2010-07-17 17:42:59 +00:00
parent 2e6e5e30f2
commit 5518fc7e25

View File

@ -161,7 +161,7 @@ define Package/qt4-declarative
DEPENDS+=+qt4-scripttools
endef
TARGET_CFLAGS+="-I$(STAGING_DIR)/usr/include/freetype2"
TARGET_CFLAGS+="-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include"
define Build/Configure
# demos/examples: which demos are going to be built depends on which features are going to to be compiled into qt