From 534abbee1defd6202c839a237dd3584d56affe0b Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 12 Jun 2007 11:06:39 +0000 Subject: Package libstdc++ (#1883) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7581 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'package') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index cc6ce5d2a1..eadfb9b151 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -80,6 +80,13 @@ define Package/libssp TITLE:=GCC support library endef +define Package/libstdcpp + $(call Package/gcc/Default) + NAME:=libstdc++ + TITLE:=GNU Standard C++ Library v3 + DEPENDS:=@!NATIVE_TOOLCHAIN&&@INSTALL_LIBSTDCPP +endef + define Package/uclibc/Default SECTION:=libs CATEGORY:=Base system @@ -161,6 +168,11 @@ ifeq ($(word 1,$(subst ., ,$(LIBGCC_VERSION))),4) endef endif +define Package/libstdcpp/install + $(INSTALL_DIR) $(1)/lib + $(CP) $(STAGING_DIR)/lib/libstdc++.so.* $(1)/lib/ +endef + define Package/libpthread/install $(INSTALL_DIR) $(1)/lib $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/ @@ -192,5 +204,6 @@ endif $(eval $(call BuildPackage,base-files$(TARGET))) $(eval $(call BuildPackage,libgcc)) $(eval $(call BuildPackage,libssp)) +$(eval $(call BuildPackage,libstdcpp)) $(eval $(call BuildPackage,libpthread)) $(eval $(call BuildPackage,uclibc)) -- cgit v1.2.3