[libsoup] Meson: Fallback to sqlite and libxml2 subprojects



commit 847e19eedb560dba2f77cf320507d940cb2b1a68
Author: Jakub Adam <jakub adam collabora com>
Date:   Wed Apr 3 18:16:05 2019 +0200

    Meson: Fallback to sqlite and libxml2 subprojects
    
    When not available in the system, those libraries can be downloaded
    from Wrap DB and built as subprojects.

 meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4448b93c..fff12ce9 100644
--- a/meson.build
+++ b/meson.build
@@ -72,7 +72,8 @@ glib_dep = [dependency('glib-2.0', version : glib_required_version,
             dependency('gio-2.0', version : glib_required_version,
                        fallback: ['glib', 'libgio_dep'])]
 
-sqlite_dep = dependency('sqlite3', required: false)
+sqlite_dep = dependency('sqlite3', required: false,
+                        fallback: ['sqlite', 'sqlite_dep'])
 
 # Fallback check for sqlite, not all platforms ship pkg-config file
 if not sqlite_dep.found()
@@ -81,7 +82,8 @@ if not sqlite_dep.found()
   sqlite_dep = cc.find_library('sqlite3')
 endif
 
-libxml_dep = dependency('libxml-2.0', required: false)
+libxml_dep = dependency('libxml-2.0', required: false,
+                        fallback: ['libxml2', 'xml2lib_dep'])
 
 # Fallback check for libxml2, not all platforms ship pkg-config file
 if not libxml_dep.found()


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