From: Michael Büsch Date: Sat, 2 Jan 2010 13:48:19 +0000 (+0000) Subject: boost: Build non-versioned libraries X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e4e2fe22739096f6112c2882b337907ad9f66b3;p=openwrt%2Fsvn-archive%2Farchive.git boost: Build non-versioned libraries SVN-Revision: 18997 --- diff --git a/libs/boost/Makefile b/libs/boost/Makefile index d7ef978243..8b305d6148 100644 --- a/libs/boost/Makefile +++ b/libs/boost/Makefile @@ -36,14 +36,14 @@ endef CONFIGURE_PREFIX:=$(PKG_INSTALL_DIR) LIBRARIES:= \ - serialization \ + serialization define Build/Compile ( cd $(PKG_BUILD_DIR) ; \ echo "using gcc : : $(GNU_TARGET_NAME)-gcc : $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) ;" > tools/build/v2/site-config.jam ; \ bjam \ '-sBUILD=release space on off' \ - --toolset=gcc \ + --toolset=gcc --build-type=minimal --layout=system \ $(foreach c, $(LIBRARIES), \ --with-$(c) \ ) \ @@ -58,8 +58,9 @@ endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/boost $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/include/boost-*/boost/* $(1)/usr/include/boost/ # copies _all_ header files - independent of <--with-library>-argument above + $(CP) $(PKG_INSTALL_DIR)/include/boost/* $(1)/usr/include/boost/ # copies _all_ header files - independent of <--with-library>-argument above $(CP) $(PKG_INSTALL_DIR)/lib/*.a $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/lib/*.so* $(1)/usr/lib/ endef define Package/boost/install