diff options
-rw-r--r-- | meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 |
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="" |