---------- Forwarded message ----------
From: Kevron Rees <[email protected]>
Date: Fri, Nov 13, 2015 at 3:39 PM
Subject: [PATCH] mraa: use correct path for python and node modules
To: [email protected]
Cc: [email protected], [email protected], Kevron Rees
<[email protected]>


Using ${libdir} will result in an invalid install path when compiled
with multilib.  This
patch fixes the install path so that python/node will be able to find
the modules when
compiled with multilib support.

Signed-off-by: Kevron Rees <[email protected]>
---
 recipes-devtools/mraa/mraa.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/mraa/mraa.inc b/recipes-devtools/mraa/mraa.inc
index 7a3dbfd..8057b79 100644
--- a/recipes-devtools/mraa/mraa.inc
+++ b/recipes-devtools/mraa/mraa.inc
@@ -11,9 +11,13 @@ inherit distutils-base pkgconfig python-dir cmake

 FILES_${PN}-doc += "${datadir}/mraa/examples/"

-FILES_${PN}-dbg += "${libdir}/node_modules/mraajs/.debug/ \
+FILES_${PN}-dbg += "${prefix}/lib/node_modules/mraajs/.debug/ \
                     ${PYTHON_SITEPACKAGES_DIR}/.debug/"

+FILES_${PN} += "${prefix}/lib/python2.7 "
+FILES_${PN} += "${prefix}/lib/node_modules/mraa "
+
+
 PACKAGECONFIG ??= "python nodejs"
 PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON, -DBUILDSWIGPYTHON=OFF,
swig-native python"
 PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=ON, -DBUILDSWIGNODE=OFF,
swig-native nodejs"
--
2.1.4
-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to