[Bug 371361] autoconf build is broken on AIX

This commit is contained in:
anton.bobrov%sun.com 2007-02-24 17:05:00 +00:00
Родитель 7f831ba3ad
Коммит 28978620c0
3 изменённых файлов: 12 добавлений и 5 удалений

Просмотреть файл

@ -204,7 +204,7 @@ PLATFORMLIBS = -ldld -lm -lpthread -lrt
endif
ifeq ($(OS_ARCH), AIX)
PLATFORMLIBS=-ldl -brtl -lpthreads -lc_r -lm
PLATFORMLIBS=-ldl -brtl -lpthreads -lc_r -lm -liconv
endif
ifeq ($(OS_ARCH), Darwin)

Просмотреть файл

@ -203,19 +203,18 @@ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) $(OS_LIBS) -lc
endif
ifeq ($(OS_ARCH), Linux)
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) $(SASL_LINK)
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
endif
ifeq ($(OS_ARCH), WINNT)
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
EXTRA_LIBS =wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib \
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
rpcrt4.lib uuid.lib winmm.lib
EXTRA_LIBS += $(dist_libdir)/$(LDIF_LIBNAME).lib
EXTRA_LIBS += $(dist_libdir)/$(LBER_LIBNAME).lib
EXTRA_LIBS += $(SASL_LINK)
endif
endif
@ -268,6 +267,10 @@ ifeq ($(OS_ARCH), OpenBSD)
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -pthread
endif
ifeq ($(HAVE_SASL), 1)
EXTRA_LIBS += $(SASL_LINK)
endif
###########################################################################
ifeq ($(USE_DLL_EXPORTS_FILE), 1)

Просмотреть файл

@ -70,6 +70,10 @@ PLATFORMLIBS =
THREADS =
THREADSLIB =
ifeq ($(OS_ARCH), AIX)
PLATFORMLIBS += -ldl -brtl -lpthreads -lc_r -lm
endif
#
# shared library symbol export definitions
#
@ -144,7 +148,7 @@ ifdef SO_FILES_TO_REMOVE
-$(RM) $(SO_FILES_TO_REMOVE)
endif
$(LINK_DLL) $(LDIF_EXPORT_FLAGS) $(EXTRA_LIBS)
$(LINK_DLL) $(LDIF_EXPORT_FLAGS) $(PLATFORMLIBS) $(EXTRA_LIBS)
veryclean:: clean