mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
Bugzilla bug #86785: link with -lpthread -lthread on all versions of
Solaris to ensure the correct library linking order.
This commit is contained in:
parent
532afb4a32
commit
23b20e57b1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user