aboutsummaryrefslogtreecommitdiffstats
path: root/package/ncurses
diff options
context:
space:
mode:
authorClark Rawlins <clark.rawlins@escient.com>2009-11-30 09:05:26 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2009-11-30 16:06:30 +0100
commit6f8597291373a915ddcb9031000442bb1569bf76 (patch)
tree1ab6a8a16e36fe7820c04f08e52d2151d7b826d5 /package/ncurses
parentcf1028074477653b7aa7bf86930b2f5c3bc55820 (diff)
downloadbuildroot-novena-6f8597291373a915ddcb9031000442bb1569bf76.tar.gz
buildroot-novena-6f8597291373a915ddcb9031000442bb1569bf76.zip
Create $(TARGET_DIR)/usr/lib when installing
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>
Diffstat (limited to 'package/ncurses')
-rw-r--r--package/ncurses/ncurses.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 2c7bf79d2..fb22c6cbc 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -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/