diff mbox series

[OpenWrt-Devel] lua: create "lua" symlink in staging dir

Message ID 20190724054737.17437-1-zajec5@gmail.com
State Under Review
Delegated to: Rafał Miłecki
Headers show
Series [OpenWrt-Devel] lua: create "lua" symlink in staging dir | expand

Commit Message

Rafał Miłecki July 24, 2019, 5:47 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

Packages using host lua expect /bin/lua which has been recently renamed
to /bin/lua5.1. Create symlink for them.

This fixes e.g. following error with gluon:
/bin/sh: 1: openwrt/staging_dir/hostpkg/bin/lua: not found

Fixes: fe59b46ca7e0 ("lua: include version number in installed files")
Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
 package/utils/lua/Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
index c911c6a913..a399a837cf 100644
--- a/package/utils/lua/Makefile
+++ b/package/utils/lua/Makefile
@@ -133,6 +133,7 @@  define Host/Install
+	$(LN) lua5.1 $(STAGING_DIR_HOSTPKG)/bin/lua
 define Build/InstallDev