summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorJaymin Patel <Jaymin.Patel@Sophos.com>2018-07-30 15:06:14 +0530
committerJaymin Patel <jem.patel@gmail.com>2018-07-30 19:32:37 +0530
commitbb336671fff613b812b308c7eeeeda38608bda9d (patch)
treed3c122fc07b0a59b204b3b9c6625cd96e6448d02 /modules/luci-base
parent4a85973a9a22071a0aa3f5add69eca775d488f9f (diff)
fix compilation failure when luasrcdiet is being copied to non existing directory
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile
index 437cdc665..06ee7985e 100644
--- a/modules/luci-base/Makefile
+++ b/modules/luci-base/Makefile
@@ -41,6 +41,7 @@ endef
define Host/Install
$(INSTALL_DIR) $(1)/bin
+ $(INSTALL_DIR) $(1)/lib/lua/5.1
$(INSTALL_BIN) src/po2lmo $(1)/bin/po2lmo
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/luasrcdiet $(1)/bin/luasrcdiet
$(CP) $(HOST_BUILD_DIR)/luasrcdiet $(1)/lib/lua/5.1/