From f24e5c7d9d7e81686ddc3cd7a03412f1c4acdad7 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sat, 15 Mar 2003 00:00:42 +0000 Subject: It appears that on Linux the dlopen and friends functions require -ldl. --- news/slrn/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'news') diff --git a/news/slrn/Makefile b/news/slrn/Makefile index 18ca9c779d0..78c5f88c3c1 100644 --- a/news/slrn/Makefile +++ b/news/slrn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2003/03/13 03:02:24 jschauma Exp $ +# $NetBSD: Makefile,v 1.24 2003/03/15 00:00:42 jschauma Exp $ # DISTNAME= slrn-0.9.7.4 @@ -25,6 +25,10 @@ CONFIGURE_ARGS+=--without-X --disable-inews --with-slrnpull \ CONFIGURE_ENV+= INSTALL=/usr/bin/install .endif +.if ${OPSYS} == "Linux" +LDFLAGS+= -ldl +.endif + .include "../../devel/libslang/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3