Loading package/libstrophe/libstrophe-02-configure.ac-fix-misdetection-of-libxml2.patchdeleted 100644 → 0 +0 −32 Original line number Diff line number Diff line From 816df67088fc590c9e8f8598a1a7e90ff1fc425d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 20 Apr 2014 21:07:41 +0200 Subject: [PATCH] configure.ac: fix misdetection of libxml2 A small typo in the detection of libxml2 leads to a successful pkg-config discovery of libxml2 to be ignored. As a consequence, configure.ac falls back to detecting the host libxml2, which does not work in cross-compilation situation. This commit fixes this small typo. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e4f9299..a3e48ee 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ AC_ARG_WITH([libxml2], if test "x$with_libxml2" != xno; then PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.7], [with_libxml2=yes], [dummy=1]) - if test "x$with_libxml2" != yes; then + if test "x$with_libxml2" != xyes; then old_CFLAGS=$CFLAGS CFLAGS="-I /usr/include/libxml2" AC_CHECK_HEADER([libxml/parser.h], -- 1.9.2 package/libstrophe/libstrophe.mk +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # ################################################################################ LIBSTROPHE_VERSION = d408eaf2bbfe5ff5c56eab01463c278f9891c08e LIBSTROPHE_VERSION = 0.8.6 LIBSTROPHE_SITE = $(call github,strophe,libstrophe,$(LIBSTROPHE_VERSION)) LIBSTROPHE_DEPENDENCIES = openssl host-pkgconf LIBSTROPHE_AUTORECONF = YES Loading Loading
package/libstrophe/libstrophe-02-configure.ac-fix-misdetection-of-libxml2.patchdeleted 100644 → 0 +0 −32 Original line number Diff line number Diff line From 816df67088fc590c9e8f8598a1a7e90ff1fc425d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 20 Apr 2014 21:07:41 +0200 Subject: [PATCH] configure.ac: fix misdetection of libxml2 A small typo in the detection of libxml2 leads to a successful pkg-config discovery of libxml2 to be ignored. As a consequence, configure.ac falls back to detecting the host libxml2, which does not work in cross-compilation situation. This commit fixes this small typo. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e4f9299..a3e48ee 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ AC_ARG_WITH([libxml2], if test "x$with_libxml2" != xno; then PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.7], [with_libxml2=yes], [dummy=1]) - if test "x$with_libxml2" != yes; then + if test "x$with_libxml2" != xyes; then old_CFLAGS=$CFLAGS CFLAGS="-I /usr/include/libxml2" AC_CHECK_HEADER([libxml/parser.h], -- 1.9.2
package/libstrophe/libstrophe.mk +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # ################################################################################ LIBSTROPHE_VERSION = d408eaf2bbfe5ff5c56eab01463c278f9891c08e LIBSTROPHE_VERSION = 0.8.6 LIBSTROPHE_SITE = $(call github,strophe,libstrophe,$(LIBSTROPHE_VERSION)) LIBSTROPHE_DEPENDENCIES = openssl host-pkgconf LIBSTROPHE_AUTORECONF = YES Loading