Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Baruch Siach <baruch-NswTu9S1W3P6gbPvEgmw2w <at> public.gmane.org>
Subject: [PATCH] fix ldconfig at target-finalize
Newsgroups: gmane.comp.lib.uclibc.buildroot
Date: Wednesday 16th June 2010 13:43:41 UTC (over 7 years ago)
Host ldconfig fails when the directory of the aux-cache file
(/var/cache/ldconfig, by default) does not exist. Make sure this directory
exists before calling ldconfig.

Signed-off-by: Baruch Siach

---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 794a298..1415e30 100644
--- a/Makefile
+++ b/Makefile
@@ -402,6 +402,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
 	rm -rf $(TARGET_DIR)/usr/share/gtk-doc
 endif
 	find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null ||
true
+	mkdir -p $(TARGET_DIR)/var/cache/ldconfig
 	$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
 
 	mkdir -p $(TARGET_DIR)/etc
-- 
1.7.1
 
CD: 4ms