diff --git a/packages/libduktape/build.sh b/packages/libduktape/build.sh index a9b472f3c..5d8434368 100644 --- a/packages/libduktape/build.sh +++ b/packages/libduktape/build.sh @@ -10,11 +10,9 @@ TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1), libduktape-dev" TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { - if $TERMUX_ON_DEVICE_BUILD; then - # configure.py requires 'yaml' python2 module. - if ! pip2 show pyyaml > /dev/null 2>&1; then - pip2 install pyyaml - fi + # configure.py requires 'yaml' python2 module. + if ! pip2 show pyyaml > /dev/null 2>&1; then + pip2 install pyyaml fi }