blob: 2efb414ce025d190378aec8aa6e9691ed3e7f343 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ru a/src/Makefile b/src/Makefile
--- a/src/Makefile 2006-11-21 07:19:31 +0000
+++ b/src/Makefile 2006-11-21 07:19:52 +0000
@@ -196,7 +196,7 @@
-rpath $(RPATH) $(LDFLAGS) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
$(LUA_T): $(LUA_O:.o=.lo) $(LIB_NAME)
- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
+ $(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(LDFLAGS) -o $@ $(LUA_O:.o=.lo) $(LIB_NAME) $(LUA_LIBS)
$(LUAC_T): $(LUAC_O:.o=.lo) $(LIB_NAME)
$(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O:.o=.lo) $(LIB_NAME)
|