diff options
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("."))}" | |||
16 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" | 16 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" |
17 | BOOST_P = "boost_${BOOST_VER}" | 17 | BOOST_P = "boost_${BOOST_VER}" |
18 | 18 | ||
19 | INC_PR = "r2" | 19 | INC_PR = "r0" |
20 | 20 | ||
21 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2" | 21 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BOOST_P}.tar.bz2" |
22 | 22 | ||
@@ -119,15 +119,14 @@ BJAM_TOOLS = "-sTOOLS=gcc \ | |||
119 | '-sGCC_STDLIB_DIRECTORY=${STAGING_LIBDIR}' \ | 119 | '-sGCC_STDLIB_DIRECTORY=${STAGING_LIBDIR}' \ |
120 | '-sNO_BZIP2=1' \ | 120 | '-sNO_BZIP2=1' \ |
121 | '-sNO_ZLIB=1' \ | 121 | '-sNO_ZLIB=1' \ |
122 | '-sBUILD=release <optimization>space <inlining>on <debug-symbols>off' \ | 122 | '-sBUILD=release <optimization>space <threading>multi <inlining>on <debug-symbols>off' \ |
123 | '-sPYTHON_VERSION=${PYTHON_VERSION}' \ | 123 | '-sPYTHON_VERSION=${PYTHON_VERSION}' \ |
124 | '--layout=system' \ | 124 | '--layout=system' \ |
125 | " | 125 | " |
126 | 126 | ||
127 | BJAM_OPTS = '${BJAM_TOOLS} \ | 127 | BJAM_OPTS = '${BJAM_TOOLS} \ |
128 | --builddir=${S}/${TARGET_SYS} \ | 128 | --builddir=${S}/${TARGET_SYS} \ |
129 | --with-python-root=${PYTHON_ROOT} \ | 129 | --disable-icu \ |
130 | --without-icu \ | ||
131 | ${BJAM_EXTRA}' | 130 | ${BJAM_EXTRA}' |
132 | 131 | ||
133 | 132 | ||
@@ -153,6 +152,15 @@ do_install() { | |||
153 | --libdir=${D}${libdir} \ | 152 | --libdir=${D}${libdir} \ |
154 | --includedir=${D}${includedir} \ | 153 | --includedir=${D}${includedir} \ |
155 | install | 154 | install |
155 | for lib in ${BOOST_LIBS}; do | ||
156 | if [ -e ${D}${libdir}/libboost_${lib}.a ]; then | ||
157 | ln -s libboost_${lib}.a ${D}${libdir}/libboost_${lib}-mt.a | ||
158 | fi | ||
159 | if [ -e ${D}${libdir}/libboost_${lib}.so ]; then | ||
160 | ln -s libboost_${lib}.so ${D}${libdir}/libboost_${lib}-mt.so | ||
161 | fi | ||
162 | done | ||
163 | |||
156 | } | 164 | } |
157 | 165 | ||
158 | BBCLASSEXTEND = "native" | 166 | BBCLASSEXTEND = "native" |