summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/lua/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 3531550337a..2d4ec6ddf3d 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/09/04 04:59:36 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2005/09/06 18:31:37 jlam Exp $
DISTNAME= lua-5.0.2
PKGREVISION= 4
@@ -24,6 +24,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
DL_AUTO_VARS= yes
+LIBS+= ${BUILDLINK_LDADD.dl}
LUA_CFLAGS= ${CFLAGS}
LUA_LDFLAGS= ${LDFLAGS} ${LIBS}
MAKE_ENV+= MYCFLAGS=${LUA_CFLAGS:Q} MYLDFLAGS=${LUA_LDFLAGS:Q}