summaryrefslogtreecommitdiff
blob: fa7c3dc8c036187d2f9b625155d8bf4a293d1e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lua-5.0.3/Makefile.old	2006-10-04 15:21:15.116128747 +0200
+++ lua-5.0.3/Makefile	2006-10-04 15:23:57.340019809 +0200
@@ -39,7 +39,7 @@
 # shared libraries (for Linux)
 so:
 	$(CC) $(LDFLAGS) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.lo
-	$(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo
+	$(CC) $(LDFLAGS) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.lo lib/liblua.so.$V $(EXTRA_LIBS) $(DLLIB)
 	cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
 
 # binaries using shared libraries