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:
richm%stanfordalumni.org 2006-02-16 23:08:22 +00:00
parent 0c104c2ece
commit 2ac0bc97b4
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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)