mirror of
https://git.openwrt.org/feed/telephony.git
synced 2025-01-08 11:47:32 +08:00
Revert "FreeSWITCH: fixed cross-compile errors"
This commit is contained in:
parent
0c0ef8cdb7
commit
29d6aa52ab
@ -258,7 +258,7 @@ define Package/$(PKG_NAME)
|
||||
$(call Package/$(PKG_NAME)/Default)
|
||||
MENU:=1
|
||||
TITLE:=FreeSWITCH open source telephony platform ($(PKG_SOURCE_VERSION_SHORT))
|
||||
DEPENDS:=+FS_WITH_CORE_LIBEDIT_SUPPORT:libedit +FS_WITH_OPENSSL:libopenssl +libcurl +libdb47 +libgdbm $(ICONV_DEPENDS) $(INTL_DEPENDS) +libjpeg +libncurses +libopenldap +libpcre +libpthread +librt +libspeex +libspeexdsp +FS_WITH_SQLITE3:libsqlite3 +FS_WITH_SRTP:libsrtp +SSP_SUPPORT:libssp +libstdcpp +libuuid +PACKAGE_$(PKG_NAME)-mod-perl:perl
|
||||
DEPENDS:=+FS_WITH_CORE_LIBEDIT_SUPPORT:libedit +FS_WITH_OPENSSL:libopenssl +libcurl +libdb47 +libgdbm $(ICONV_DEPENDS) $(INTL_DEPENDS) +libjpeg +libncurses +libopenldap +libpcre +libpthread +librt +libspeex +libspeexdsp +FS_WITH_SQLITE3:libsqlite3 +FS_WITH_SRTP:libsrtp_git +SSP_SUPPORT:libssp +libstdcpp +libuuid +PACKAGE_$(PKG_NAME)-mod-perl:perl
|
||||
endef
|
||||
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
--- a/libs/apr/configure.ac
|
||||
+++ b/libs/apr/configure.ac
|
||||
@@ -1956,8 +1956,11 @@
|
||||
|
||||
APR_CHECK_TCP_NODELAY_INHERITED
|
||||
APR_CHECK_O_NONBLOCK_INHERITED
|
||||
-APR_CHECK_TCP_NODELAY_WITH_CORK
|
||||
-
|
||||
+dnl Check TCP_NODELAY_WITH_CORK ONLY when NOT cross compiling
|
||||
+if test "$cross_compiling" != yes; then
|
||||
+ APR_CHECK_TCP_NODELAY_WITH_CORK
|
||||
+fi
|
||||
+
|
||||
# Look for a way of corking TCP...
|
||||
APR_CHECK_DEFINE(TCP_CORK, netinet/tcp.h)
|
||||
APR_CHECK_DEFINE(TCP_NOPUSH, netinet/tcp.h)
|
@ -1,18 +0,0 @@
|
||||
--- a/libs/apr-util/configure.ac
|
||||
+++ b/libs/apr-util/configure.ac
|
||||
@@ -123,9 +123,12 @@ dnl Find an iconv library
|
||||
APU_FIND_LDAP
|
||||
APU_CHECK_DBM
|
||||
APU_CHECK_DBD
|
||||
-APU_CHECK_DBD_MYSQL
|
||||
-APU_CHECK_DBD_SQLITE3
|
||||
-APU_CHECK_DBD_SQLITE2
|
||||
+dnl Check databases ONLY when NOT cross compiling
|
||||
+if test "$cross_compiling" != yes; then
|
||||
+ APU_CHECK_DBD_MYSQL
|
||||
+ APU_CHECK_DBD_SQLITE3
|
||||
+ APU_CHECK_DBD_SQLITE2
|
||||
+fi
|
||||
APU_FIND_EXPAT
|
||||
APU_FIND_ICONV
|
||||
|
Loading…
Reference in New Issue
Block a user