mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 17:04:36 +04:00
It was discovered that spandsp3 leaks host header on building build tools. This was caused by the Makefile not permitting to pass custom header on compiling build tools. To be more precise it was possible to leak host header for the tiff library for the tiffio.h header. Add pending patch to fix this and not depend on the host system header. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
21 lines
572 B
Diff
21 lines
572 B
Diff
--- 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)
|
|
|
|
@@ -254,6 +257,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])
|