mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
On HP-UX, we should not link against the libraries we depend on at runtime because it puts explicit version dependencies into the shared library we are creating. This makes it impossible to upgrade to a new version of nspr or nss.
This commit is contained in:
parent
0c104c2ece
commit
2ac0bc97b4
@ -147,6 +147,11 @@ EXTRA_LIBS += -ldl -brtl -lpthreads -lc_r -lm
|
||||
CUSTOM_LIBS=1
|
||||
endif
|
||||
|
||||
# no extra libs on HP-UX
|
||||
ifeq ($(OS_ARCH), HP-UX)
|
||||
CUSTOM_LIBS=1
|
||||
endif
|
||||
|
||||
# if you need to do something extra for extra_libs or extra_dll_libs for a
|
||||
# specific platform, do them above according the other ones for WINNT, OS2, etc.
|
||||
# then define CUSTOM_LIBS=1 - if you just want the standard ones as defined
|
||||
|
@ -176,6 +176,10 @@ EXTRA_LIBS += $(OS_LIBS)
|
||||
CUSTOM_LIBS=1
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH), HP-UX)
|
||||
CUSTOM_LIBS=1
|
||||
endif
|
||||
|
||||
ifndef CUSTOM_LIBS
|
||||
EXTRA_LIBS = -L$(dist_libdir) -l$(LDAP_LIBNAME) -l$(PRLDAP_LIBNAME)
|
||||
EXTRA_LIBS += $(NSSLINK)
|
||||
|
Loading…
Reference in New Issue
Block a user