fix compilation failure when luasrcdiet is being copied to non existing directory
authorJaymin Patel <Jaymin.Patel@Sophos.com>
Mon, 30 Jul 2018 09:36:14 +0000 (15:06 +0530)
committerJo-Philipp Wich <jo@mein.io>
Tue, 31 Jul 2018 04:58:01 +0000 (06:58 +0200)
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
(cherry picked from commit bb336671fff613b812b308c7eeeeda38608bda9d)

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/