Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/lua/usr.bin/lua To allow static linking, specif...



details:   https://anonhg.NetBSD.org/src/rev/9663fc21560f
branches:  trunk
changeset: 758463:9663fc21560f
user:      he <he%NetBSD.org@localhost>
date:      Fri Nov 05 10:50:50 2010 +0000

description:
To allow static linking, specify -lterminfo as well, and don't rely
on shared library inter-dependencies to pull everything together.
Fixes the build for sun2.

diffstat:

 external/mit/lua/usr.bin/lua/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5796f9df70cc -r 9663fc21560f external/mit/lua/usr.bin/lua/Makefile
--- a/external/mit/lua/usr.bin/lua/Makefile     Fri Nov 05 10:35:00 2010 +0000
+++ b/external/mit/lua/usr.bin/lua/Makefile     Fri Nov 05 10:50:50 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:02 mbalmer Exp $
+# $NetBSD: Makefile,v 1.2 2010/11/05 10:50:50 he Exp $
 
 PROG=          lua
 SRCS=          lua.c
@@ -9,6 +9,9 @@
 LDADD+=                ${LIBLUA} -lm -ledit
 DPADD+=                ${LIBLUA}
 
+LDADD+=                -lterminfo
+DPADD+=                ${LIBTERMINFO}
+
 .include <bsd.own.mk>
 
 .PATH:         ${NETBSDSRCDIR}/external/mit/lua/dist/src \



Home | Main Index | Thread Index | Old Index