summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2007-05-26 00:13:08 +0000
committerwtc%google.com <devnull@localhost>2007-05-26 00:13:08 +0000
commit68d1054b24e13f92088b0d4a80ec1bfe31b62fc5 (patch)
tree388240ed6aef1e9b7e3b9e9327b06a8648d6ec5e /lib/tests
parentbfcbe51191641c115d3b4f1a06060bb44fad2bf5 (diff)
downloadnspr-hg-68d1054b24e13f92088b0d4a80ec1bfe31b62fc5.tar.gz
Bug 371247: checked in some changes for OpenBSD. The patch is contributed
by Martynas Venckus <martynas@openbsd.org>. r=nelsonb,wtc. Modified Files: configure configure.in lib/tests/Makefile.in _openbsd.cfg _openbsd.h prnetdb.c
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tests/Makefile.in b/lib/tests/Makefile.in
index f55824ad..f3c05295 100644
--- a/lib/tests/Makefile.in
+++ b/lib/tests/Makefile.in
@@ -127,6 +127,12 @@ ifeq ($(OS_ARCH), Linux)
endif
endif
+ifeq (,$(filter-out OpenBSD,$(OS_ARCH)))
+ ifeq ($(USE_PTHREADS),1)
+ EXTRA_LIBS = -lpthread
+ endif
+endif
+
ifeq ($(OS_ARCH), OSF1)
LDOPTS += -rpath $(PWD)/$(dist_libdir) -lpthread
endif