fix compilation failure when luasrcdiet is being copied to non existing directory
[oweals/luci.git] / 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/