Merge pull request #573 from micmac1/span3xml2-1907
[19.07] spandsp3: prevent host include search paths
This commit is contained in:
commit
85cb5591de
2 changed files with 21 additions and 1 deletions
|
@ -13,7 +13,7 @@ PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/freeswitch/spandsp.git
|
PKG_SOURCE_URL:=https://github.com/freeswitch/spandsp.git
|
||||||
PKG_SOURCE_DATE=2020-08-14
|
PKG_SOURCE_DATE=2020-08-14
|
||||||
PKG_SOURCE_VERSION:=6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6
|
PKG_SOURCE_VERSION:=6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_MIRROR_HASH:=fcfa13576a25ff27e3746c3db30de89d2afceb963072b352a34e7a4a9f492ae5
|
PKG_MIRROR_HASH:=fcfa13576a25ff27e3746c3db30de89d2afceb963072b352a34e7a4a9f492ae5
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
20
libs/spandsp3/patches/02-do-not-check-for-libxml2.patch
Normal file
20
libs/spandsp3/patches/02-do-not-check-for-libxml2.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -231,6 +231,9 @@ then
|
||||||
|
AC_CHECK_HEADERS([X11/X.h])
|
||||||
|
fi
|
||||||
|
|
||||||
|
+# Note: the libxml2 checks below introduce host include paths into the
|
||||||
|
+# build, so we turn them off.
|
||||||
|
+if test -n "$enable_tests" ; then # OpenWrt doesn't build the tests
|
||||||
|
# Determine XML2 include path
|
||||||
|
AC_MSG_CHECKING(for libxml/xmlmemory.h)
|
||||||
|
|
||||||
|
@@ -259,6 +262,7 @@ fi
|
||||||
|
AC_CHECK_HEADERS([libxml/xmlmemory.h])
|
||||||
|
AC_CHECK_HEADERS([libxml/parser.h])
|
||||||
|
AC_CHECK_HEADERS([libxml/xinclude.h])
|
||||||
|
+fi # OpenWrt doesn't build the tests
|
||||||
|
|
||||||
|
AC_LANG([C++])
|
||||||
|
AC_CHECK_HEADERS([FL/Fl.H])
|
Loading…
Reference in a new issue