mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
python: make DISTRO_FEATURE safe
The python bbappend should have only been active when virtualization is in DISTRO_FEATURES, so we change it to work like the rest of the bbappends. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
1d47e25958
commit
d10d310cbe
|
@ -1,8 +1 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
DEPENDS += " ncurses"
|
||||
|
||||
do_compile_prepend() {
|
||||
export LIBRARY_PATH=${STAGING_DIR_TARGET}/lib
|
||||
}
|
||||
|
||||
require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}_virtualization.inc', '', d)}
|
||||
|
|
8
recipes-devtools/python/python3_virtualization.inc
Normal file
8
recipes-devtools/python/python3_virtualization.inc
Normal file
|
@ -0,0 +1,8 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
DEPENDS += " ncurses"
|
||||
|
||||
do_compile_prepend() {
|
||||
export LIBRARY_PATH=${STAGING_DIR_TARGET}/lib
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user