From fb10843cb7781dd2874b20970e2ff485359f06fa Mon Sep 17 00:00:00 2001 From: Marco S Hyman Date: Sat, 16 Nov 2002 05:02:49 +0000 Subject: use -lnpthread when USELIBPTHREAD=yes --- regress/lib/libpthread/Makefile.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'regress/lib/libpthread') diff --git a/regress/lib/libpthread/Makefile.inc b/regress/lib/libpthread/Makefile.inc index cc9a763e4d8..d5cb0b8f4a0 100644 --- a/regress/lib/libpthread/Makefile.inc +++ b/regress/lib/libpthread/Makefile.inc @@ -1,13 +1,13 @@ -# $OpenBSD: Makefile.inc,v 1.6 2002/09/02 20:01:43 avsm Exp $ +# $OpenBSD: Makefile.inc,v 1.7 2002/11/16 05:02:48 marc Exp $ # Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu LIBC_R?= /usr/lib/libc_r.a -LIBPTHREAD?= /usr/lib/libpthread.a +LIBPTHREAD?= /usr/lib/libnpthread.a USELIBPTHREAD?= no .if ${USELIBPTHREAD:L} == yes -# this tests using libpthread/libc -LDADD+= -lpthread +# this tests using libnpthread/libc +LDADD+= -lnpthread DPADD+= ${LIBPTHREAD} .else # This tests using libc_r -- cgit v1.2.3