[oe-commits] [meta-openembedded] 30/62: mraa: Define PYTHON_LIBRARY and PYTHON_INCLUDE_DIR
git at git.openembedded.org
git at git.openembedded.org
Thu Oct 24 08:03:57 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 8bfe69e5ab3a23397f356bb9fe123398b13b7bb4
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Oct 23 15:47:19 2019 -0700
mraa: Define PYTHON_LIBRARY and PYTHON_INCLUDE_DIR
Otherwise it starts to look into native sysroot which we really do not
want
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-extended/mraa/mraa_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 17ca262..6d42c67 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -22,6 +22,8 @@ DEPENDS += "json-c"
EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=ON \
-DPYTHON3_PACKAGES_PATH:PATH=${baselib}/python${PYTHON_BASEVERSION}/site-packages \
+ -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \
+ -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \
"
# Prepend mraa-utils to make sure bindir ends up in there
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list