qt: install qt3 support lib to target if enabled
authorKarl Krach <mailinglists@blueSpirit.la>
Fri, 9 Jul 2010 12:55:02 +0000 (14:55 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 9 Jul 2010 12:55:02 +0000 (14:55 +0200)
Signed-off-by: Karl Krach <mailinglists@blueSpirit.la>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/qt.mk

index e2ebbb2a22ad90a29e40cf68894dc2edab404fb6..b4b6b29951472d28b95b2f7bc97473e12182dd46 100644 (file)
@@ -418,6 +418,9 @@ endif
 ifeq ($(BR2_PACKAGE_QT_SCRIPTTOOLS),y)
 QT_LIBS+= qt-scripttools
 endif
+ifeq ($(BR2_PACKAGE_QT_QT3SUPPORT),y)
+QT_LIBS+= qt-qt3support
+endif
 
 QT_QMAKE_CONF:=$(QT_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QT_EMB_PLATFORM)-g++/qmake.conf
 
@@ -597,6 +600,10 @@ ifeq ($(BR2_PACKAGE_QT_SHARED),y)
        cp -dpf $(STAGING_DIR)/usr/lib/libQtScriptTools.so.* $(TARGET_DIR)/usr/lib/
 endif
 
+qt-qt3support: $(STAGING_DIR)/usr/lib/libQtCore.la
+ifeq ($(BR2_PACKAGE_QT_SHARED),y)
+       cp -dpf $(STAGING_DIR)/usr/lib/libQt3Support.so.* $(TARGET_DIR)/usr/lib/
+endif
 
 $(TARGET_DIR)/usr/lib/libQtCore.so.4: $(STAGING_DIR)/usr/lib/libQtCore.la $(QT_LIBS)
        # Strip all installed libs