add include path, pointing to the actual qt4-source directory, to CFLAGS - otherwise...
[packages.git] / Xorg / lib / qt4 / Makefile
index eb60a5e..c2724ac 100644 (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
@@ -290,6 +290,8 @@ define Build/Configure
 endef
 
 define Build/Compile
+       # just passing <make install> results in not building 3rdparty/webkit/JavaScriptCore
+       $(MAKE) -C $(PKG_BUILD_DIR)
        INSTALL_ROOT=$(PKG_INSTALL_DIR) \
                $(MAKE) -C $(PKG_BUILD_DIR) install
 endef