From: Danomi Manchego Date: Tue, 25 Mar 2014 01:05:17 +0000 (-0400) Subject: qt: ensure that target dir exists before installing there X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ac91f8fc202c3b63463577564e1bbb9ec5483aa;p=buildroot.git 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. Signed-off-by: Danomi Manchego Signed-off-by: Peter Korsgaard --- diff --git a/package/qt/qt.mk b/package/qt/qt.mk index bc329f0bde..507e0dbaa2 100644 --- a/package/qt/qt.mk +++ b/package/qt/qt.mk @@ -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