X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=luci.mk;h=eb034d208106e2dd72089583f4e14447dcd3db1a;hb=e06c60a0d669bed72e495d51f5e30513b05f5605;hp=84d151230c7d8158eba88cd35af6a2581c85ca0f;hpb=87a7570690f7aeffb1aff01f320973c9acb668d3;p=project%2Fluci.git diff --git a/luci.mk b/luci.mk index 84d151230..eb034d208 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