summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2025-11-18 09:36:26 +0000
committerÁlvaro Fernández Rojas2025-11-18 09:38:42 +0000
commitedaf77da740d13bb46e460695709bab6fe395345 (patch)
tree94ba322fb6f4901b6bcb332031d0e07ff9b6e787
parent38d70328ecbd90522727447e62247530eda2b668 (diff)
downloadlibubox-edaf77da740d13bb46e460695709bab6fe395345.tar.gz
scripts: devel-build: add missing LUAPATH
Add missing LUA_PATH, which prevents installing `uloop.so` to `/usr/local/lib/lua/5.1`. Fixes https://github.com/openwrt/libubox/issues/36. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rwxr-xr-xscripts/devel-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/devel-build.sh b/scripts/devel-build.sh
index 2b33ce5..5a7c7a4 100755
--- a/scripts/devel-build.sh
+++ b/scripts/devel-build.sh
@@ -62,6 +62,7 @@ cmake \
-S . \
-B "${BUILDDIR}" \
-DCMAKE_PREFIX_PATH="${BUILDDIR}" \
+ -DLUAPATH=${BUILDDIR}/lib/lua \
--install-prefix "${BUILDDIR}" \
${BUILD_ARGS}
make -C "${BUILDDIR}"