libduktape: always install pyyaml
This commit is contained in:
parent
bbdaa639f7
commit
c125591bb6
|
@ -10,11 +10,9 @@ TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1), libduktape-dev"
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
if $TERMUX_ON_DEVICE_BUILD; then
|
# configure.py requires 'yaml' python2 module.
|
||||||
# configure.py requires 'yaml' python2 module.
|
if ! pip2 show pyyaml > /dev/null 2>&1; then
|
||||||
if ! pip2 show pyyaml > /dev/null 2>&1; then
|
pip2 install pyyaml
|
||||||
pip2 install pyyaml
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue