summaryrefslogtreecommitdiff
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 07:50:25 +0100
commit190b57a5f130f8a48d417ad472c0131c49302ee1 (patch)
treea098b5d3f9b8137ea823c62221883c664d9acf80 /meta/recipes-core
parentd80065642c5a1c95a298b235a8d575460147ede1 (diff)
downloadopenembedded-core-190b57a5f130f8a48d417ad472c0131c49302ee1.tar.gz
openembedded-core-190b57a5f130f8a48d417ad472c0131c49302ee1.tar.bz2
openembedded-core-190b57a5f130f8a48d417ad472c0131c49302ee1.zip
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. 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
- LIBS="$ac_save_LIBS"
- fi
- fi
-+ verdep=ifelse([$1], [], [], [>= $1])
++ verdep=ifelse([$1], [], [], [">= $1"])
+ PKG_CHECK_MODULES(XML, [libxml-2.0 $verdep], [$2], [$3])
- XML_CPPFLAGS=""