23 lines
766 B
Diff
23 lines
766 B
Diff
Index: lua-5.1.4/src/Makefile
|
|
===================================================================
|
|
--- lua-5.1.4.orig/src/Makefile
|
|
+++ lua-5.1.4/src/Makefile
|
|
@@ -53,7 +53,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
|
|
$(RANLIB) $@
|
|
|
|
$(LUA_SO): $(CORE_O) $(LIB_O)
|
|
- $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
|
|
+ $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LUA_O) $(LIBS)
|
|
rm -f liblua.so
|
|
ln -fs $@ liblua.so
|
|
|
|
@@ -102,7 +102,7 @@ generic:
|
|
$(MAKE) all MYCFLAGS=
|
|
|
|
linux:
|
|
- $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
|
|
+ $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-ldl -lreadline -lhistory -lncurses"
|
|
|
|
macosx:
|
|
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"
|