diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-12-27 17:03:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:10:46 +0000 |
commit | c521aa1ad6aaae373ee4495e28e971a90adc5563 (patch) | |
tree | e387f95d19eb8d62e58fb791f8f0beb69897c1e7 /meta/recipes-support/boost/boost.inc | |
parent | 169e55d802883df763dbff4a4737e05e96358fa3 (diff) | |
download | openembedded-core-contrib-c521aa1ad6aaae373ee4495e28e971a90adc5563.tar.gz |
boost: Update to 1.48 and Clean ups
There were 2 "BJAM_OPTS =" in the .bb and .inc, the .inc was being
overwritten and the ICU dependency was not removed correctly.
Do some clean-up including moving install_append into do_install
directly.
Finally the BJAM_EXTRAS += "threading=multi" was not setting set
correctly, set it on the BUILD spec line
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/boost/boost.inc')
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index aa577b3f0f..dfe00f2753 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc @@ -16,7 +16,7 @@ BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" BOOST_P = "boost_${BOOST_VER}" -INC_PR = "r2" +INC_PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2" @@ -119,15 +119,14 @@ BJAM_TOOLS = "-sTOOLS=gcc \ '-sGCC_STDLIB_DIRECTORY=${STAGING_LIBDIR}' \ '-sNO_BZIP2=1' \ '-sNO_ZLIB=1' \ - '-sBUILD=release <optimization>space <inlining>on <debug-symbols>off' \ + '-sBUILD=release <optimization>space <threading>multi <inlining>on <debug-symbols>off' \ '-sPYTHON_VERSION=${PYTHON_VERSION}' \ '--layout=system' \ " BJAM_OPTS = '${BJAM_TOOLS} \ --builddir=${S}/${TARGET_SYS} \ - --with-python-root=${PYTHON_ROOT} \ - --without-icu \ + --disable-icu \ ${BJAM_EXTRA}' @@ -153,6 +152,15 @@ do_install() { --libdir=${D}${libdir} \ --includedir=${D}${includedir} \ install + for lib in ${BOOST_LIBS}; do + if [ -e ${D}${libdir}/libboost_${lib}.a ]; then + ln -s libboost_${lib}.a ${D}${libdir}/libboost_${lib}-mt.a + fi + if [ -e ${D}${libdir}/libboost_${lib}.so ]; then + ln -s libboost_${lib}.so ${D}${libdir}/libboost_${lib}-mt.so + fi + done + } BBCLASSEXTEND = "native" |