зеркало из https://github.com/mozilla/pjs.git
NetBSD build-system fix (bug 135027); r=seawood@netscape.com
This commit is contained in:
Родитель
c029f15fc2
Коммит
64210eb246
|
@ -391,7 +391,7 @@ ifeq ($(OS_ARCH), OSF1)
|
|||
SO_FILES_TO_REMOVE=so_locations
|
||||
endif
|
||||
|
||||
ifneq (,$(filter BeOS Darwin,$(OS_ARCH)))
|
||||
ifneq (,$(filter BeOS Darwin NetBSD,$(OS_ARCH)))
|
||||
LINK_DLL = $(MKSHLIB) $(OBJS)
|
||||
endif
|
||||
|
||||
|
|
|
@ -213,6 +213,10 @@ ifeq ($(OS_ARCH), BeOS)
|
|||
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lbe
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH), NetBSD)
|
||||
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
|
||||
endif
|
||||
|
||||
###########################################################################
|
||||
|
||||
ifeq ($(USE_DLL_EXPORTS_FILE), 1)
|
||||
|
@ -257,7 +261,7 @@ $(LIBLDAP): $(OBJS) $(LIBDIR) $(LDAP_EXPORT_DEFS) $(DEF_FILE)
|
|||
ifdef SO_FILES_TO_REMOVE
|
||||
-$(RM) $(SO_FILES_TO_REMOVE)
|
||||
endif
|
||||
ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX, $(OS_ARCH)))
|
||||
ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX NetBSD, $(OS_ARCH)))
|
||||
$(LINK_LIB) ../liblber/$(OBJDIR_NAME)/*.a
|
||||
else
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
|
|
|
@ -173,7 +173,7 @@ struct prldap_errormap_entry {
|
|||
#define ETXTBSY -1
|
||||
#endif
|
||||
|
||||
#if defined(BSDI) || defined(OPENBSD)
|
||||
#if defined(BSDI) || defined(OPENBSD) || defined (NETBSD)
|
||||
#define ENOTSUP -1
|
||||
#endif
|
||||
|
||||
|
@ -183,7 +183,7 @@ struct prldap_errormap_entry {
|
|||
|
||||
#if defined(__hpux) || defined(_AIX) || defined(OSF1) || defined(DARWIN) || \
|
||||
defined(BEOS) || defined(FREEBSD) || defined(BSDI) || defined(VMS) || \
|
||||
defined(OPENBSD)
|
||||
defined(OPENBSD) || defined(NETBSD)
|
||||
#define EDEADLOCK -1
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче