diff options
| -rw-r--r-- | recipes-devtools/python/python3_3.%.bbappend | 9 | ||||
| -rw-r--r-- | recipes-devtools/python/python3_virtualization.inc | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/recipes-devtools/python/python3_3.%.bbappend b/recipes-devtools/python/python3_3.%.bbappend index 55301c7e..617caccb 100644 --- a/recipes-devtools/python/python3_3.%.bbappend +++ b/recipes-devtools/python/python3_3.%.bbappend | |||
| @@ -1,8 +1 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', '${BPN}_virtualization.inc', '', d)} | |
| 2 | |||
| 3 | DEPENDS += " ncurses" | ||
| 4 | |||
| 5 | do_compile_prepend() { | ||
| 6 | export LIBRARY_PATH=${STAGING_DIR_TARGET}/lib | ||
| 7 | } | ||
| 8 | |||
diff --git a/recipes-devtools/python/python3_virtualization.inc b/recipes-devtools/python/python3_virtualization.inc new file mode 100644 index 00000000..55301c7e --- /dev/null +++ b/recipes-devtools/python/python3_virtualization.inc | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | |||
| 3 | DEPENDS += " ncurses" | ||
| 4 | |||
| 5 | do_compile_prepend() { | ||
| 6 | export LIBRARY_PATH=${STAGING_DIR_TARGET}/lib | ||
| 7 | } | ||
| 8 | |||
