Create $(TARGET_DIR)/usr/lib when installing
authorClark Rawlins <clark.rawlins@escient.com>
Mon, 30 Nov 2009 14:05:26 +0000 (09:05 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 30 Nov 2009 15:06:30 +0000 (16:06 +0100)
In some configurations $(TARGET_DIR)/usr/lib isn't
created before the target install target for libncurses
is run.  This change makes sure it is created before
the install target copies files to it.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/ncurses/ncurses.mk

diff --git a/CHANGES b/CHANGES
index f7fbda7f72ccd6716594046c3a8b4fa03b719dd2..97ca4e745ed58952834baec7666ca82139900600 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,7 +2,7 @@
 
        Additional fixes and cleanups.
 
-       Updated/fixed packages: alsamixergui, fltk
+       Updated/fixed packages: alsamixergui, fltk, ncurses
 
        Issues resolved (http://bugs.uclibc.org):
 
index 2c7bf79d2496f24f633675a578895ab5b5555b5b..fb22c6cbcdf9ddfc4c4880871739b78b8bdf0f92 100644 (file)
@@ -105,6 +105,7 @@ $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libn
        touch -c $@
 
 $(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION)
+       mkdir -p $(TARGET_DIR)/usr/lib
        cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/usr/lib/
 ifeq ($(BR2_PACKAGE_NCURSES_TARGET_PANEL),y)
        cp -dpf $(NCURSES_DIR)/lib/libpanel.so* $(TARGET_DIR)/usr/lib/