summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/lua/files/lua-5.1.1-make_static.patch')
-rw-r--r--dev-lang/lua/files/lua-5.1.1-make_static.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/lua/files/lua-5.1.1-make_static.patch b/dev-lang/lua/files/lua-5.1.1-make_static.patch
index b25cb5c89c95..53c5bd1a9cf8 100644
--- a/dev-lang/lua/files/lua-5.1.1-make_static.patch
+++ b/dev-lang/lua/files/lua-5.1.1-make_static.patch
@@ -4,9 +4,9 @@ diff -ru lua-5.1.1.orig/src/Makefile lua-5.1.1/src/Makefile
@@ -196,7 +196,7 @@
-rpath $(RPATH) -o $(LIB_NAME) $(LIB_OBJS) $(LIB_LIBS)
- lua-$(V): $(LUA_O) $(LIB_NAME)
+ lua: $(LUA_O) $(LIB_NAME)
- $(LIBTOOL) --mode=link $(CC) -Wl,-E -o $@ $(LUA_O) $(LUA_LIBS) -llua
+ $(LIBTOOL) --mode=link $(CC) -static -Wl,-E -o $@ $(LUA_O) $(LIB_NAME) $(LUA_LIBS)
- luac-$(V): $(LUAC_O) $(LIB_NAME)
+ luac: $(LUAC_O) $(LIB_NAME)
$(LIBTOOL) --mode=link $(CC) -static -o $@ $(LUAC_O) $(LIB_NAME)