diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-10-11 13:52:20 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2022-10-11 13:54:52 -0400 |
commit | 5d65ad114f2c579ce7b67125198d73586cdd315d (patch) | |
tree | 59e6ab9979977ec7f1baa9b78ad3748a892f421f | |
parent | a8306a10011130f649e3816b9800c3bc691e1212 (diff) | |
download | libsoup-5d65ad114f2c579ce7b67125198d73586cdd315d.tar.gz |
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.
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
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() |