diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-07-28 11:41:07 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-07-28 14:21:51 +0200 |
commit | 63fbf5a805085f7ad99aebaaa116e3096fcf792d (patch) | |
tree | fdf434f509404e765ade6abc246a82869b101894 /luci.mk | |
parent | aae187dedf726fe609ede8260f8f8343d843d046 (diff) |
luci-base: fix luasrcdiet
- Stage required libraries as well
- Remove not existing make target
- Override library search path
Fixes: b5d5e5bf1 ("luci-base: update luasrcdiet")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'luci.mk')
-rw-r--r-- | luci.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -153,7 +153,7 @@ LUCI_LIBRARYDIR = $(LUA_LIBRARYDIR)/luci define SrcDiet $(FIND) $(1) -type f -name '*.lua' | while read src; do \ - if luasrcdiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \ + if LUA_PATH="$(STAGING_DIR_HOSTPKG)/lib/lua/5.1/?.lua" luasrcdiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \ then mv "$$$$src.o" "$$$$src"; fi; \ done endef |