[libsoup] build: Remove libxml dependency It is no longer used with the removal of XML-RPC support.



commit be9ddc363d4b44ead93e70f3a6cf7e729c2a279e
Author: Patrick Griffis <pgriffis igalia com>
Date:   Wed Sep 1 10:44:54 2021 -0500

    build: Remove libxml dependency
    It is no longer used with the removal of XML-RPC support.

 libsoup/meson.build |  1 -
 meson.build         | 16 ----------------
 2 files changed, 17 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 2176ce8a..a05f5752 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -180,7 +180,6 @@ libsoup_c_args  = [
 deps = [
   libsysprof_capture_dep,
   glib_deps,
-  libxml_dep,
   sqlite_dep,
   libpsl_dep,
   brotlidec_dep,
diff --git a/meson.build b/meson.build
index e49c9521..95cd5ddc 100644
--- a/meson.build
+++ b/meson.build
@@ -116,22 +116,6 @@ if not sqlite_dep.found()
   sqlite_dep = dependency('sqlite3')
 endif
 
-libxml_dep = dependency('libxml-2.0', required: false)
-
-# Fallback check for libxml2, not all platforms ship pkg-config file
-if not libxml_dep.found()
-  # Note: The XML include dir needs to be within the INCLUDE envvar,
-  # such as <INCLUDEDIR>\libxml2
-  libxml2_libname = cc.get_id() == 'msvc' ? 'libxml2' : 'xml2'
-  libxml_dep = cc.find_library(libxml2_libname,
-    has_headers : 'libxml/tree.h',
-    required: false)
-endif
-
-if not libxml_dep.found()
-  libxml_dep = subproject('libxml2').get_variable('xml2lib_dep')
-endif
-
 cdata = configuration_data()
 
 brotlidec_dep = dependency('libbrotlidec', required : get_option('brotli'))


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