aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/lua/patches/020-shared_liblua.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-06-21 14:30:01 +0200
committerRafał Miłecki <rafal@milecki.pl>2019-06-28 09:25:59 +0200
commitfe59b46ca7e0716e030a5d7cb0da9b4b6a79a8f4 (patch)
tree3fa7aaf0de9e0c8615d26150eda736426c07eeb0 /package/utils/lua/patches/020-shared_liblua.patch
parentc0c5c6351473333ea60488dfea6c7ccea0e9cc12 (diff)
downloadupstream-fe59b46ca7e0716e030a5d7cb0da9b4b6a79a8f4.tar.gz
upstream-fe59b46ca7e0716e030a5d7cb0da9b4b6a79a8f4.tar.bz2
upstream-fe59b46ca7e0716e030a5d7cb0da9b4b6a79a8f4.zip
lua: include version number in installed files
This will allow installing Lua 5.1 and newer versions at the same time. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/utils/lua/patches/020-shared_liblua.patch')
-rw-r--r--package/utils/lua/patches/020-shared_liblua.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/utils/lua/patches/020-shared_liblua.patch b/package/utils/lua/patches/020-shared_liblua.patch
index 64f683ddbe..f67ee2b3c7 100644
--- a/package/utils/lua/patches/020-shared_liblua.patch
+++ b/package/utils/lua/patches/020-shared_liblua.patch
@@ -3,12 +3,12 @@
@@ -42,8 +42,8 @@ PLATS= aix ansi bsd freebsd generic linu
# What to install.
- TO_BIN= lua luac
+ TO_BIN= lua$V luac$V
-TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
-TO_LIB= liblua.a
+TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp lnum_config.h
+TO_LIB= liblua.a liblua.so.$R
- TO_MAN= lua.1 luac.1
+ TO_MAN= lua$V.1 luac$V.1
# Lua version and release.
@@ -63,6 +63,7 @@ install: dummy
@@ -87,10 +87,10 @@
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
lundump.o lvm.o lzio.o lnum.o
-@@ -33,11 +34,12 @@ LUA_T= lua
+@@ -33,11 +34,12 @@ LUA_T= lua$V
LUA_O= lua.o
- LUAC_T= luac
+ LUAC_T= luac$V
-LUAC_O= luac.o print.o
+LUAC_O= luac.o print.o lopcodes.o