summaryrefslogtreecommitdiff
path: root/lang/lua/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-09-06 18:31:37 +0000
committerjlam <jlam@pkgsrc.org>2005-09-06 18:31:37 +0000
commit7c866619eff882109e91bce3538047b24ed780c0 (patch)
tree6f52f86e857539347423ed3190468089e7d38975 /lang/lua/Makefile
parentf3e5cb9cff0879a0d2ac60cfc114722c1e071b94 (diff)
downloadpkgsrc-7c866619eff882109e91bce3538047b24ed780c0.tar.gz
Add ${BUILDLINK_LDADD.dl} to LIBS as lua has no configure script to
detect and add "-ldl" (on systems that need it) by itself during the build. This addresses pkg/31171.
Diffstat (limited to 'lang/lua/Makefile')
-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}