From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 8 Aug 2009 02:24:45 +0000 (+0000)
Subject: install static libraries from uclibc to the rootfs staging dir
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/5d58e1d9222ac685d42238c3df3ed58c11bd11bf

install static libraries from uclibc to the rootfs staging dir

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17169 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 2c88458af..6901829f2 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -247,6 +247,10 @@ define Package/libc/install
 $(call Package/$(LIBC)/install,$1)
 endef
 
+define Package/libc/install_lib
+	$(CP) $(filter-out %/libdl_pic.a,$(wildcard $(TOOLCHAIN_DIR)/usr/lib/lib*.a)) $(1)/lib/
+endef
+
 define Package/libpthread/install
 	$(INSTALL_DIR) $(1)/lib
 	$(CP) $(TOOLCHAIN_DIR)/lib/libpthread.so.* $(1)/lib/