summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/boost/boost.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index cbf9cad707..c9bb178541 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -59,10 +59,13 @@ PACKAGES = "${PN}-dbg ${BOOST_PACKAGES}"
59python __anonymous () { 59python __anonymous () {
60 packages = [] 60 packages = []
61 extras = [] 61 extras = []
62 pn = d.getVar("PN")
62 mlprefix = d.getVar("MLPREFIX") 63 mlprefix = d.getVar("MLPREFIX")
63 for lib in d.getVar('BOOST_LIBS').split(): 64 for lib in d.getVar('BOOST_LIBS').split():
64 extras.append("--with-%s" % lib) 65 extras.append("--with-%s" % lib)
65 pkg = "boost-%s" % (lib.replace("_", "-")) 66 pkg = "boost-%s" % (lib.replace("_", "-"))
67 if "-native" in pn:
68 pkg = pkg + "-native"
66 packages.append(mlprefix + pkg) 69 packages.append(mlprefix + pkg)
67 if not d.getVar("FILES_%s" % pkg): 70 if not d.getVar("FILES_%s" % pkg):
68 d.setVar("FILES_%s%s" % (mlprefix, pkg), "${libdir}/libboost_%s*.so.*" % lib) 71 d.setVar("FILES_%s%s" % (mlprefix, pkg), "${libdir}/libboost_%s*.so.*" % lib)