From 5d58e1d9222ac685d42238c3df3ed58c11bd11bf Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 8 Aug 2009 02:24:45 +0000 Subject: [PATCH] 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 --- package/base-files/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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/