From 94c3f321d0388d582e2af44c4a786c1f8e7e596b Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 12 Oct 2015 15:28:55 +0000 Subject: lua: updated lua-5.1.5-shared.diff creates the missing liblua.so symlink --- lua/build/lua-5.1.5-shared.diff | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lua') diff --git a/lua/build/lua-5.1.5-shared.diff b/lua/build/lua-5.1.5-shared.diff index 7646fdaf..8cb93afe 100644 --- a/lua/build/lua-5.1.5-shared.diff +++ b/lua/build/lua-5.1.5-shared.diff @@ -1,6 +1,6 @@ diff -uar lua-5.1.5.orig/Makefile lua-5.1.5/Makefile --- lua-5.1.5.orig/Makefile 2012-02-10 10:50:23.000000000 +0100 -+++ lua-5.1.5/Makefile 2013-10-15 16:24:23.783864677 +0200 ++++ lua-5.1.5/Makefile 2015-10-12 17:12:23.982138572 +0200 @@ -43,7 +43,7 @@ # What to install. TO_BIN= lua luac @@ -12,7 +12,7 @@ diff -uar lua-5.1.5.orig/Makefile lua-5.1.5/Makefile # Lua version and release. diff -uar lua-5.1.5.orig/src/Makefile lua-5.1.5/src/Makefile --- lua-5.1.5.orig/src/Makefile 2012-02-13 21:41:22.000000000 +0100 -+++ lua-5.1.5/src/Makefile 2013-10-15 16:28:06.251465201 +0200 ++++ lua-5.1.5/src/Makefile 2015-10-12 17:23:07.754974269 +0200 @@ -18,11 +18,17 @@ MYLDFLAGS= MYLIBS= @@ -42,7 +42,7 @@ diff -uar lua-5.1.5.orig/src/Makefile lua-5.1.5/src/Makefile default: $(PLAT) -@@ -47,10 +54,17 @@ +@@ -47,10 +54,18 @@ a: $(ALL_A) @@ -55,17 +55,18 @@ diff -uar lua-5.1.5.orig/src/Makefile lua-5.1.5/src/Makefile +$(LUA_S): $(CORE_O) $(LIB_O) + $(CC) -shared -fPIC -Wl,-soname -Wl,$(LUA_S).$(MAJOR) \ + -o $(LUA_S).$(MAJOR).$(MINOR).$(REL) $^ $(LIBS) ++ ln -s $(LUA_S).$(MAJOR).$(MINOR).$(REL) $(LUA_S).$(MAJOR) + ln -s $(LUA_S).$(MAJOR).$(MINOR).$(REL) $(LUA_S) + $(LUA_T): $(LUA_O) $(LUA_A) $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS) -@@ -58,7 +72,7 @@ +@@ -58,7 +73,7 @@ $(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) clean: - $(RM) $(ALL_T) $(ALL_O) -+ $(RM) $(ALL_T) $(ALL_O) $(LUA_S) $(LUA_S).$(MAJOR).$(MINOR).$(REL) ++ $(RM) $(ALL_T) $(ALL_O) $(LUA_S) $(LUA_S).$(MAJOR) $(LUA_S).$(MAJOR).$(MINOR).$(REL) depend: @$(CC) $(CFLAGS) -MM l*.c print.c -- cgit v1.2.3-65-gdbad