fix compilation failure when luasrcdiet is being copied to non existing directory 2012/head
authorJaymin Patel <Jaymin.Patel@Sophos.com>
Mon, 30 Jul 2018 09:36:14 +0000 (15:06 +0530)
committerJaymin Patel <jem.patel@gmail.com>
Mon, 30 Jul 2018 14:02:37 +0000 (19:32 +0530)
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
modules/luci-base/Makefile

index 437cdc665216930436a8bd3d268c119508c84fbd..06ee7985ebff02b7df63694f892031b5467ac818 100644 (file)
@@ -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/