[Buildroot] [PATCH 2/8] package/libiio: update cmake code for libxml2 detection

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Feb 14 21:15:23 UTC 2015


Dear Samuel Martin,

On Sun, 25 Jan 2015 22:13:49 +0100, Samuel Martin wrote:
> Only check for libxml2 when it is needed.
> 
> This prevents CMake from falling back on the libxml2-config.cmake
> installed on the host system (i.e. when libxml2 >=2.9.2 is part of the
> host system), but not enabled as a target package (i.e. not existing in
> the staging tree).
> 
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> ---
>  ...l2-detection-try-first-the-CMake-module-f.patch | 40 +++++++++++++---------
>  1 file changed, 23 insertions(+), 17 deletions(-)

Is this fixing a bug happening in practice? I.e should it be applied to
master or next?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list