lua-language-server: apply ondevice patch before host build

This commit is contained in:
Aditya Alok 2021-10-28 01:26:40 +05:30
parent e2d8192560
commit e1c980b84b
No known key found for this signature in database
GPG Key ID: 5A52117417798AC7
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ TERMUX_PKG_BUILD_IN_SRC=true
# https://github.com/actboy168/bee.lua/blob/32f65b92739fa236d87fc1b2e7617470d47f0355/bee/thread/spinlock.h#L14
TERMUX_PKG_BLACKLISTED_ARCHES="arm,i686"
termux_step_pre_configure() {
if [ "${TERMUX_ON_DEVICE_BUILD}" = true ]; then
patch --silent -p1 <"${TERMUX_PKG_BUILDER_DIR}"/android.patch.ondevice.beforehostbuild
fi
}
termux_step_host_build() {
termux_setup_ninja