mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
9fe3d01f27
commit
bad434be93
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user