summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-11-16 05:02:49 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-11-16 05:02:49 +0000
commitfb10843cb7781dd2874b20970e2ff485359f06fa (patch)
tree56f33d8745d217a30d8626f19ebdf901354202ff /regress/lib/libpthread
parente3dfb4fec0e3ff66b059e441ce4e519bedbadbbc (diff)
use -lnpthread when USELIBPTHREAD=yes
Diffstat (limited to 'regress/lib/libpthread')
-rw-r--r--regress/lib/libpthread/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
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