summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-08 03:14:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-09 23:00:45 +0100
commitbad434be9314ad18fafd6800e27bc94ff3e95e49 (patch)
treea06363d6b44a09c7fff9377ac62f328d81bdaf9c /meta/recipes-core
parent9fe3d01f27445652c3020413d66a5cdeb3c3259c (diff)
downloadpoky-bad434be9314ad18fafd6800e27bc94ff3e95e49.tar.gz
libxml2: fix AM_PATH_XML2
The code: suppose $1 == 2.7: verdep=ifelse([$1], [], [], [>= $1]) results in: verdep=>= 2.7 This is wrong in shell: bash: 2.7: command not found Use quotation marks to fix the problem. (From OE-Core rev: 190b57a5f130f8a48d417ad472c0131c49302ee1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch b/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch
index 0fc84070ed..3277165618 100644
--- a/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch
+++ b/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch
@@ -190,7 +190,7 @@ index 68cd824..5fa0a9b 100644
190- LIBS="$ac_save_LIBS" 190- LIBS="$ac_save_LIBS"
191- fi 191- fi
192- fi 192- fi
193+ verdep=ifelse([$1], [], [], [>= $1]) 193+ verdep=ifelse([$1], [], [], [">= $1"])
194+ PKG_CHECK_MODULES(XML, [libxml-2.0 $verdep], [$2], [$3]) 194+ PKG_CHECK_MODULES(XML, [libxml-2.0 $verdep], [$2], [$3])
195 195
196- XML_CPPFLAGS="" 196- XML_CPPFLAGS=""