aboutsummaryrefslogtreecommitdiff
path: root/package/lua
diff options
context:
space:
mode:
Diffstat (limited to 'package/lua')
-rw-r--r--package/lua/lua.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 9afec6ce57..b88f1e26a8 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -12,7 +12,11 @@ endif
LUA_SITE = http://www.lua.org/ftp
LUA_INSTALL_STAGING = YES
LUA_LICENSE = MIT
+ifeq ($(BR2_PACKAGE_LUA_5_1),y)
LUA_LICENSE_FILES = COPYRIGHT
+else
+LUA_LICENSE_FILES = doc/readme.html
+endif
LUA_PROVIDES = luainterpreter