diff options
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch')
-rw-r--r-- | meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch new file mode 100644 index 000000000..6d3b6648a --- /dev/null +++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Fix libxml2 for cross-compiling | ||
2 | |||
3 | Use proper XML2_INCLUDE path when cross-compiling | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-of-by: Aws Ismail <aws.ismail@windriver.com> | ||
8 | |||
9 | diff --git a/configure.ac b/configure.ac | ||
10 | index 30a792c..b5f5aad 100644 | ||
11 | --- a/configure.ac | ||
12 | +++ b/configure.ac | ||
13 | @@ -175,7 +175,7 @@ AC_CHECK_HEADERS([openssl/md2.h openssl/md5.h openssl/bio.h openssl/ssl.h openss | ||
14 | |||
15 | dnl xml is used for XML-based communication in ilo2_ribcl and oa_soap | ||
16 | AC_CHECK_LIB([xml2],[xmlParseMemory],[XML2_LIB=-lxml2],[XML2_LIB=]) | ||
17 | -AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h],[XML2_INCLUDE="-I/usr/include/libxml2"],[XML2_INCLUDE]) | ||
18 | +AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h],[XML2_INCLUDE="$XML2_INCLUDE"],[XML2_INCLUDE]) | ||
19 | AC_SUBST(XML2_LIB) | ||
20 | AC_SUBST(XML2_INCLUDE) | ||
21 | |||