Skip to contentSkip to conversation

qt: ensure that target dir exists before installing there

PATCH New Danomi Manchego 2 participants 2 messages Mar 25, 2014 – Mar 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt: ensure that target dir exists before installing there

All of qt.mk's target installs ensure that their destinations exist, except for /usr/lib. So do the same for /usr/lib, for consistency, and in case some combination of custom fs skeleton plus dependency on Qt leads to installing without a pre-existing /usr/lib directory.

---
 package/qt/qt.mk |    1 +
 1 file changed, 1 insertion(+)
package/qt/qt.mk +1 -0
index bc329f0..507e0db 100644
@@ -625,6 +625,7 @@ endef
 # Library installation
 ifeq ($(BR2_PACKAGE_QT_SHARED),y)
 define QT_INSTALL_TARGET_LIBS
+	mkdir -p $(TARGET_DIR)/usr/lib
 	for lib in $(QT_INSTALL_LIBS); do \
 		cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib ; \
 	done
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 qt: ensure that target dir exists before installing there

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Danomi" == Danomi Manchego <[email protected]> writes:

All of qt.mk's target installs ensure that their destinations exist, except for /usr/lib. So do the same for /usr/lib, for consistency, and in case some combination of custom fs skeleton plus dependency on Qt leads to installing without a pre-existing /usr/lib directory.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard