diff options
-rw-r--r-- | meta/recipes-devtools/python/python-scons-native_2.3.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-scons-native_2.3.0.bb b/meta/recipes-devtools/python/python-scons-native_2.3.0.bb index 1e4ec27ce1..067ed61a4e 100644 --- a/meta/recipes-devtools/python/python-scons-native_2.3.0.bb +++ b/meta/recipes-devtools/python/python-scons-native_2.3.0.bb @@ -2,3 +2,7 @@ require python-scons_${PV}.bb inherit native pythonnative DEPENDS = "python-native" RDEPENDS_${PN} = "" + +do_install_append() { + create_wrapper ${D}${bindir}/scons PYTHONPATH='$PYTHONPATH:${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' +} |