Commit 2945b066 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

qtopia4: fix build for !QTOPIA4_SHARED



Only try to copy the shared objects from staging to target if QT
is configured for shared objects.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 85df29b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -542,8 +542,8 @@ endif

$(TARGET_DIR)/usr/lib/libQtCore.so.4: $(STAGING_DIR)/usr/lib/libQtCore.la $(QTOPIA4_LIBS)
	# Strip all installed libs
	cp -dpf $(STAGING_DIR)/usr/lib/libQtCore.so.* $(TARGET_DIR)/usr/lib/
ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y)
	cp -dpf $(STAGING_DIR)/usr/lib/libQtCore.so.* $(TARGET_DIR)/usr/lib/
	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libQt*.so.*
endif