]> git.pld-linux.org Git - packages/lua40.git/blame - lua-link.patch
- really provide lua-devel only when building as default_lua; release 13
[packages/lua40.git] / lua-link.patch
CommitLineData
054afdf8
JB
1--- lua-4.0.1/Makefile.orig Tue Oct 31 18:32:01 2000
2+++ lua-4.0.1/Makefile Wed Dec 18 19:13:28 2002
3@@ -28,8 +28,8 @@
4
5 # shared libraries (for Linux)
6 so:
7- ld -o lib/liblua.so.$V -shared src/*.o
8- ld -o lib/liblualib.so.$V -shared src/lib/*.o
9+ $(CC) -o lib/liblua.so.$V -shared src/*.o -Wl,-soname=liblua.so.$V
70af91c0 10+ $(CC) -o lib/liblualib.so.$V -shared src/lib/*.o -Wl,-soname=liblualib.so.$V -Llib -llua -lm
054afdf8
JB
11 cd lib; ln -s liblua.so.$V liblua.so; ln -s liblualib.so.$V liblualib.so
12
13 # binaries using shared libraries
This page took 0.12903 seconds and 4 git commands to generate.