From: Felix Fietkau Date: Sat, 8 Aug 2009 02:24:45 +0000 (+0000) Subject: install static libraries from uclibc to the rootfs staging dir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=907fb8d8e560584ca9fec1128657a867cfb0dac9;p=openwrt%2Fstaging%2Fynezz.git install static libraries from uclibc to the rootfs staging dir SVN-Revision: 17169 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 2c88458af4..6901829f29 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/