summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.boogz%sun.com <devnull@localhost>2008-04-26 02:22:58 +0000
committerjulien.pierre.boogz%sun.com <devnull@localhost>2008-04-26 02:22:58 +0000
commita59e45c996f45f212a395827f182b9cfc716ca0f (patch)
tree5819578dfe21ba84ad6dc9c0a54bf3338edd4479
parent80126842785bcb7ec82e4c1a483a5d66a48dc97e (diff)
downloadnspr-hg-a59e45c996f45f212a395827f182b9cfc716ca0f.tar.gz
Fix for bug 430883 . NSPR does not need to link with libthread on Solaris . r=wtc
-rw-r--r--pr/src/Makefile.in2
-rw-r--r--pr/tests/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/Makefile.in b/pr/src/Makefile.in
index 66d887ed..76e7f235 100644
--- a/pr/src/Makefile.in
+++ b/pr/src/Makefile.in
@@ -95,7 +95,7 @@ LIBRT=-lposix4
endif
ifdef USE_PTHREADS
-OS_LIBS = -lpthread -lthread ${LIBRT} -lsocket -lnsl -ldl -lc
+OS_LIBS = -lpthread ${LIBRT} -lsocket -lnsl -ldl -lc
else
ifdef LOCAL_THREADS_ONLY
OS_LIBS = -lsocket -lnsl -ldl -lc
diff --git a/pr/tests/Makefile.in b/pr/tests/Makefile.in
index 5e5ee6b6..ca052f3a 100644
--- a/pr/tests/Makefile.in
+++ b/pr/tests/Makefile.in
@@ -334,7 +334,7 @@ ifeq ($(OS_ARCH), SunOS)
ifneq ($(LOCAL_THREADS_ONLY),1)
ifdef USE_PTHREADS
- EXTRA_LIBS = -lpthread -lthread
+ EXTRA_LIBS = -lpthread
else
EXTRA_LIBS = -lthread
endif