FS-3182: fix mod_dingaling/iksemel/gnutls link error when using newer autotools
This commit is contained in:
parent
e0eb284ef4
commit
294b077977
|
@ -12,4 +12,5 @@ m4_include([build/config/sched_setaffinity.m4])
|
|||
m4_include([libs/apr/build/apr_common.m4])
|
||||
m4_include([libs/sofia-sip/m4/sac-pkg-config.m4])
|
||||
m4_include([libs/sofia-sip/m4/sac-openssl.m4])
|
||||
m4_include([libs/iksemel/build/libgnutls.m4])
|
||||
m4_include([build/config/libcurl.m4])
|
||||
|
|
|
@ -27,6 +27,7 @@ INSTALL=@INSTALL@
|
|||
GETLIB=@GETLIB@
|
||||
LIBTOOL=@LIBTOOL@
|
||||
AR=@AR@
|
||||
LIBGNUTLS_LIBS=@LIBGNUTLS_LIBS@
|
||||
LTINSTALL=$(LIBTOOL) --quiet --mode=install $(INSTALL)
|
||||
LTUNINSTALL=$(LIBTOOL) --mode=uninstall rm -f
|
||||
CCLD = $(CC)
|
||||
|
|
|
@ -144,6 +144,8 @@ if test "${enable_optimizer}" = "yes" ; then
|
|||
AX_CC_MAXOPT
|
||||
fi
|
||||
|
||||
AX_PATH_LIBGNUTLS()
|
||||
|
||||
# set defaults for use on all platforms
|
||||
SWITCH_AM_CFLAGS="-I${switch_srcdir}/src/include -I${switch_builddir}/src/include -I${switch_srcdir}/libs/libteletone/src"
|
||||
SWITCH_AM_CXXFLAGS="-I${switch_srcdir}/src/include -I${switch_builddir}/src/include -I${switch_srcdir}/libs/libteletone/src"
|
||||
|
|
|
@ -10,8 +10,10 @@ DING_DIR=$(BASE)/libs/libdingaling
|
|||
LOCAL_CFLAGS += -I$(DING_DIR)/src -I$(BASE)/libs/iksemel/include
|
||||
LOCAL_OBJS=$(DING_DIR)/src/libdingaling.o $(DING_DIR)/src/sha1.o $(IKS_LA)
|
||||
LOCAL_SOURCES=$(DING_DIR)/src/libdingaling.c $(DING_DIR)/src/sha1.c
|
||||
LOCAL_LDFLAGS=$(LIBGNUTLS_LIBS)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
|
||||
$(IKS_LA): $(IKS_DIR) $(IKS_DIR)/.update
|
||||
@cd $(IKS_DIR) && $(MAKE)
|
||||
@$(TOUCH_TARGET)
|
||||
|
|
Loading…
Reference in New Issue