libxml2: fix AM_PATH_XML2
cover libxml2: fix AM_PATH_XML2
The following changes since commit 5ebea1114d54120d5ff5d8a6cd148110d0fda23f:
build-appliance-image: Update to master head revision (2016-04-06 23:54:57 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/libxml2
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/libxml2
Robert Yang (1):
libxml2: fix AM_PATH_XML2
meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
PATCH 1/1 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 <[email protected]>
--- meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch +1 -1
@@ -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=""
Signature · 1 line
2.7.4