[packages/qt4] some Qt-internal paths are magically getting appended to TARGET_{INC,LIB}DIRS - however _only_ to the very last element (so the last elem should be the staging-dir - not the toolchain-dir)

thanks to kyak for pointing this out!

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25658 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2011-02-22 12:12:48 +00:00
parent e805264c56
commit 0507df5635

View File

@ -8,8 +8,17 @@
QMAKE_PLATFORM_PREFIX:=$(if $(CONFIG_QT4_WS_QWS),qws/)
QMAKE_SPECFILE:=$(STAGING_DIR)/usr/share/mkspecs/$(QMAKE_PLATFORM_PREFIX)linux-openwrt-g++
TARGET_INCDIRS+=$(STAGING_DIR)/include $(STAGING_DIR)/usr/include $(TOOLCHAIN_DIR)/include $(TOOLCHAIN_DIR)/usr/include
TARGET_LIBDIRS+=$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib $(TOOLCHAIN_DIR)/lib $(TOOLCHAIN_DIR)/usr/lib
TARGET_INCDIRS +=\
$(TOOLCHAIN_DIR)/include \
$(STAGING_DIR)/include \
$(TOOLCHAIN_DIR)/usr/include \
$(STAGING_DIR)/usr/include
TARGET_LIBDIRS += \
$(TOOLCHAIN_DIR)/lib \
$(STAGING_DIR)/lib \
$(TOOLCHAIN_DIR)/usr/lib \
$(STAGING_DIR)/usr/lib
define Build/Configure/Qmake
TARGET_CC="$(TARGET_CROSS)gcc" \