зеркало из https://github.com/mozilla/pjs.git
[Bug 371361] autoconf build is broken on AIX
This commit is contained in:
Родитель
7f831ba3ad
Коммит
28978620c0
|
@ -204,7 +204,7 @@ PLATFORMLIBS = -ldld -lm -lpthread -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS_ARCH), AIX)
|
ifeq ($(OS_ARCH), AIX)
|
||||||
PLATFORMLIBS=-ldl -brtl -lpthreads -lc_r -lm
|
PLATFORMLIBS=-ldl -brtl -lpthreads -lc_r -lm -liconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS_ARCH), Darwin)
|
ifeq ($(OS_ARCH), Darwin)
|
||||||
|
|
|
@ -203,19 +203,18 @@ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) $(OS_LIBS) -lc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS_ARCH), Linux)
|
ifeq ($(OS_ARCH), Linux)
|
||||||
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) $(SASL_LINK)
|
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS_ARCH), WINNT)
|
ifeq ($(OS_ARCH), WINNT)
|
||||||
ifdef NS_USE_GCC
|
ifdef NS_USE_GCC
|
||||||
EXTRA_DLL_LIBS=-L$(dist_libdir) -l$(LBER_LIBNAME) $(SASL_LINK)
|
EXTRA_DLL_LIBS=-L$(dist_libdir) -l$(LBER_LIBNAME)
|
||||||
else
|
else
|
||||||
EXTRA_LIBS =wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib \
|
EXTRA_LIBS =wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib \
|
||||||
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
|
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
|
||||||
rpcrt4.lib uuid.lib winmm.lib
|
rpcrt4.lib uuid.lib winmm.lib
|
||||||
EXTRA_LIBS += $(dist_libdir)/$(LDIF_LIBNAME).lib
|
EXTRA_LIBS += $(dist_libdir)/$(LDIF_LIBNAME).lib
|
||||||
EXTRA_LIBS += $(dist_libdir)/$(LBER_LIBNAME).lib
|
EXTRA_LIBS += $(dist_libdir)/$(LBER_LIBNAME).lib
|
||||||
EXTRA_LIBS += $(SASL_LINK)
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -268,6 +267,10 @@ ifeq ($(OS_ARCH), OpenBSD)
|
||||||
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -pthread
|
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -pthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(HAVE_SASL), 1)
|
||||||
|
EXTRA_LIBS += $(SASL_LINK)
|
||||||
|
endif
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
ifeq ($(USE_DLL_EXPORTS_FILE), 1)
|
ifeq ($(USE_DLL_EXPORTS_FILE), 1)
|
||||||
|
|
|
@ -70,6 +70,10 @@ PLATFORMLIBS =
|
||||||
THREADS =
|
THREADS =
|
||||||
THREADSLIB =
|
THREADSLIB =
|
||||||
|
|
||||||
|
ifeq ($(OS_ARCH), AIX)
|
||||||
|
PLATFORMLIBS += -ldl -brtl -lpthreads -lc_r -lm
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# shared library symbol export definitions
|
# shared library symbol export definitions
|
||||||
#
|
#
|
||||||
|
@ -144,7 +148,7 @@ ifdef SO_FILES_TO_REMOVE
|
||||||
-$(RM) $(SO_FILES_TO_REMOVE)
|
-$(RM) $(SO_FILES_TO_REMOVE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(LINK_DLL) $(LDIF_EXPORT_FLAGS) $(EXTRA_LIBS)
|
$(LINK_DLL) $(LDIF_EXPORT_FLAGS) $(PLATFORMLIBS) $(EXTRA_LIBS)
|
||||||
|
|
||||||
|
|
||||||
veryclean:: clean
|
veryclean:: clean
|
||||||
|
|
Загрузка…
Ссылка в новой задаче