зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
f84184efdf
Коммит
3bcf4f26e7
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче