diff options
-rw-r--r-- | pr/tests/Makefile.in | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/pr/tests/Makefile.in b/pr/tests/Makefile.in index 9ea4c648..c1931a47 100644 --- a/pr/tests/Makefile.in +++ b/pr/tests/Makefile.in @@ -324,20 +324,11 @@ ifeq ($(OS_ARCH), SunOS) endif ifneq ($(LOCAL_THREADS_ONLY),1) -# SunOS 5.4 and 5.5 need to link with -lthread or -lpthread, -# even though we already linked with these system libraries -# when we built libnspr.so. - ifeq ($(OS_RELEASE), 5.4) + ifdef USE_PTHREADS + EXTRA_LIBS = -lpthread -lthread + else EXTRA_LIBS = -lthread endif - - ifeq ($(OS_RELEASE), 5.5) - ifdef USE_PTHREADS - EXTRA_LIBS = -lpthread - else - EXTRA_LIBS = -lthread - endif - endif endif # LOCAL_THREADS_ONLY endif # SunOS |