summaryrefslogtreecommitdiffhomepage
path: root/luci.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-10-05 01:42:51 +0200
committerJo-Philipp Wich <jo@mein.io>2016-10-05 01:44:02 +0200
commitd4c33720208346ee7983213fe764df3102b8a771 (patch)
tree2aba8f1d8143375d15606016a81624c0c8e75526 /luci.mk
parentdcb2a0e68036b501a4f62633d71ff7c2815b652e (diff)
Revert "luci-base: use default install paths for host utils"
This reverts commit 87a7570690f7aeffb1aff01f320973c9acb668d3. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'luci.mk')
-rw-r--r--luci.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/luci.mk b/luci.mk
index 84d151230c..eb034d2081 100644
--- a/luci.mk
+++ b/luci.mk
@@ -150,7 +150,8 @@ 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 $(STAGING_DIR)/host/bin/lua $(STAGING_DIR)/host/bin/LuaSrcDiet \
+ --noopt-binequiv -o "$$$$src.o" "$$$$src"; \
then mv "$$$$src.o" "$$$$src"; fi; \
done
endef