diff options
Diffstat (limited to 'meta/recipes-support/boost/boost.inc')
-rw-r--r-- | meta/recipes-support/boost/boost.inc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index 8eb9494381..ca140d595f 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
@@ -62,12 +62,16 @@ PACKAGES = "${PN}-dbg ${BOOST_PACKAGES}" | |||
62 | python __anonymous () { | 62 | python __anonymous () { |
63 | packages = [] | 63 | packages = [] |
64 | extras = [] | 64 | extras = [] |
65 | mlprefix = d.getVar("MLPREFIX") | ||
65 | for lib in d.getVar('BOOST_LIBS').split(): | 66 | for lib in d.getVar('BOOST_LIBS').split(): |
66 | extras.append("--with-%s" % lib) | 67 | extras.append("--with-%s" % lib) |
67 | pkg = "boost-%s" % lib.replace("_", "-") | 68 | pkg = "boost-%s" % (lib.replace("_", "-")) |
68 | packages.append(pkg) | 69 | packages.append(mlprefix + pkg) |
69 | if not d.getVar("FILES_%s" % pkg): | 70 | if not d.getVar("FILES_%s" % pkg): |
70 | d.setVar("FILES_%s" % pkg, "${libdir}/libboost_%s*.so.*" % lib) | 71 | d.setVar("FILES_%s%s" % (mlprefix, pkg), "${libdir}/libboost_%s*.so.*" % lib) |
72 | else: | ||
73 | d.setVar("FILES_%s%s" % (mlprefix, pkg), d.getVar("FILES_%s" % pkg)) | ||
74 | |||
71 | d.setVar("BOOST_PACKAGES", " ".join(packages)) | 75 | d.setVar("BOOST_PACKAGES", " ".join(packages)) |
72 | d.setVar("BJAM_EXTRA", " ".join(extras)) | 76 | d.setVar("BJAM_EXTRA", " ".join(extras)) |
73 | } | 77 | } |