blob: 3fc403bd73ad715e79c1760fea0a51814e61e92b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
diff -Naur lua-5.0.2/Makefile lua/Makefile
--- lua-5.0.2/Makefile 2003-04-11 02:34:38.000000000 +0200
+++ lua/Makefile 2004-03-16 20:28:18.736068272 +0100
@@ -38,8 +38,8 @@
# shared libraries (for Linux)
so:
- ld -o lib/liblua.so.$V -shared src/*.o
- ld -o lib/liblualib.so.$V -shared src/lib/*.o
+ gcc -o lib/liblua.so.$V -shared src/*.o
+ gcc -o lib/liblualib.so.$V -shared src/lib/*.o
cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
# binaries using shared libraries
diff -Naur lua-5.0.2/src/lib/Makefile lua/src/lib/Makefile
--- lua-5.0.2/src/lib/Makefile 2003-03-28 13:49:56.000000000 +0100
+++ lua/src/lib/Makefile 2004-03-16 20:29:24.035141304 +0100
@@ -4,6 +4,8 @@
include $(LUA)/config
+CFLAGS= $(MYCFLAGS) $(PICFLAGS) $(WARN) $(INCS) $(DEFS)
+
EXTRA_DEFS= $(POPEN) $(TMPNAM) $(DEGREES) $(LOADLIB)
OBJS= lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o
diff -Naur lua-5.0.2/src/Makefile lua/src/Makefile
--- lua-5.0.2/src/Makefile 2002-12-13 13:12:11.000000000 +0100
+++ lua/src/Makefile 2004-03-16 20:28:52.047004240 +0100
@@ -4,6 +4,8 @@
include $(LUA)/config
+CFLAGS= $(MYCFLAGS) $(PICFLAGS) $(WARN) $(INCS) $(DEFS)
+
OBJS= \
lapi.o \
lcode.o \
|