diff options
author | minskim <minskim@pkgsrc.org> | 2005-06-07 03:47:24 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-06-07 03:47:24 +0000 |
commit | 6a660e824c0b5868341ce8ebe6fd17a4bd425394 (patch) | |
tree | a778f2769235a434f7b9dc3a8539959c2ad5ea5e | |
parent | af9736a506a31ad2a26b35a8eaab1cd0c220c7e3 (diff) | |
download | pkgsrc-6a660e824c0b5868341ce8ebe6fd17a4bd425394.tar.gz |
Add BUILDLINK_LDADD.dl to LIBS instead of defining platform-specific LIBS.
-rw-r--r-- | lang/lua/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index c67e13f31fe..93ab0c22ec0 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2005/04/11 21:46:14 tv Exp $ +# $NetBSD: Makefile,v 1.23 2005/06/07 03:47:24 minskim Exp $ DISTNAME= lua-5.0.2 PKGREVISION= 2 @@ -26,9 +26,7 @@ BUILD_TARGET= all so INSTALL_TARGET= install soinstall CFLAGS+= -fPIC -LIBS.Interix+= -ldl -LIBS.Linux+= -ldl -LIBS.SunOS+= -ldl +LIBS+= ${BUILDLINK_LDADD.dl} MAKE_ENV+= LIBS="${LIBS}" post-build: |