[libsoup/libsoup-2-74] meson: Fix libxml2 fallback



commit 5d65ad114f2c579ce7b67125198d73586cdd315d
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Tue Oct 11 13:52:20 2022 -0400

    meson: Fix libxml2 fallback
    
    The variable has been renamed to libxml2_dep in recent versions of
    libxml2 from WrapDB, which causes an error because xml2lib_dep does not
    exist any more. The variable name is not needed any way.

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 4b3267ed..01f744e5 100644
--- a/meson.build
+++ b/meson.build
@@ -119,7 +119,8 @@ if not libxml_dep.found()
 endif
 
 if not libxml_dep.found()
-  libxml_dep = subproject('libxml2').get_variable('xml2lib_dep')
+  # Allows fallback to subproject
+  libxml_dep = dependency('libxml-2.0')
 endif
 
 cdata = configuration_data()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]