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.
This commit is contained in:
he 2010-11-05 10:50:50 +00:00
parent 64448b4070
commit 47147f658b
1 changed files with 4 additions and 1 deletions

View File

@ -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 @@ CPPFLAGS+= -DLUA_USE_READLINE
LDADD+= ${LIBLUA} -lm -ledit
DPADD+= ${LIBLUA}
LDADD+= -lterminfo
DPADD+= ${LIBTERMINFO}
.include <bsd.own.mk>
.PATH: ${NETBSDSRCDIR}/external/mit/lua/dist/src \