[Lunar-commits] <moonbase-other> lua: add missing symlink liblua.so

v4hn me at v4hn.de
Sun May 5 13:47:53 CEST 2013


commit fd329ddeda9d288344eb7b6ab8a86b81930af5df
Author: v4hn <me at v4hn.de>
Date: Sun, 05 May 2013 04:46:33 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/fd329ddeda9d288344eb7b6ab8a86b81930af5df

lua: add missing symlink liblua.so
---
  compilers/lua/BUILD | +3/-1     
  1 file changed, 3 insertions(+), 1 deletion(-)

--- a/compilers/lua/BUILD
+++ b/compilers/lua/BUILD
@@ -2,7 +2,7 @@
 patch_it $SOURCE2 0 &&
 sedit "s at CFLAGS=@CFLAGS+=@" src/Makefile &&
 CFLAGS+=" -fPIC" &&
-sedit "s:TO_LIB=:\0 liblua.so.5.2:" Makefile &&
+sedit "s:TO_LIB=:\0 liblua.so.${VERSION%.*}:" Makefile &&
 
 sedit "s:/usr/local:/usr:" Makefile src/luaconf.h &&
 
@@ -27,4 +27,6 @@ make linux      &&
 prepare_install &&
 make install    &&
 
+ln -s liblua.so.${VERSION%.*} /usr/lib/liblua.so &&
+
 install -Dm0644 lua.pc /usr/lib/pkgconfig/




More information about the Lunar-commits mailing list