summaryrefslogtreecommitdiff
path: root/lang/lua/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'lang/lua/patches/patch-ab')
-rw-r--r--lang/lua/patches/patch-ab6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/lua/patches/patch-ab b/lang/lua/patches/patch-ab
index a7f97428e72..2ccebf58ba4 100644
--- a/lang/lua/patches/patch-ab
+++ b/lang/lua/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.12 2009/12/17 16:42:46 jmmv Exp $
+$NetBSD: patch-ab,v 1.13 2011/01/19 13:46:14 adam Exp $
--- src/Makefile.orig 2008-01-19 19:37:58.000000000 +0000
+++ src/Makefile 2009-12-17 16:36:51.000000000 +0000
@@ -61,11 +61,11 @@ $NetBSD: patch-ab,v 1.12 2009/12/17 16:42:46 jmmv Exp $
$(LUA_T): $(LUA_O) $(LUA_A)
- $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
-+ ${LIBTOOL} --tag=CC --mode=link $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
++ ${LIBTOOL} --tag=CC --mode=link $(CC) -o $@ ${LDFLAGS} $(LUA_O) $(LUA_A) $(LIBS)
$(LUAC_T): $(LUAC_O) $(LUA_A)
- $(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
-+ ${LIBTOOL} --tag=CC --mode=link $(CC) -static -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
++ ${LIBTOOL} --tag=CC --mode=link $(CC) -static -o $@ ${LDFLAGS} $(LUAC_O) $(LUA_A) $(LIBS)
clean:
$(RM) $(ALL_T) $(ALL_O)