diff options
author | jlam <jlam@pkgsrc.org> | 2005-09-06 18:31:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-09-06 18:31:37 +0000 |
commit | 7c866619eff882109e91bce3538047b24ed780c0 (patch) | |
tree | 6f52f86e857539347423ed3190468089e7d38975 /lang/lua | |
parent | f3e5cb9cff0879a0d2ac60cfc114722c1e071b94 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | lang/lua/Makefile | 3 |
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} |