[glib-networking: 67/129] Do not set GTLS_SYSTEM_CA_FILE on Windows



commit d2f8879b20de12207b8ad8baf10e52746f404937
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Tue Oct 24 09:59:29 2017 +0200

    Do not set GTLS_SYSTEM_CA_FILE on Windows
    
    On Windows we should instead discover the ca file instead of
    having it static

 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index eb90ea8..24e181e 100644
--- a/meson.build
+++ b/meson.build
@@ -89,8 +89,7 @@ config_h.set_quoted('LOCALE_DIR', join_paths(get_option('prefix'), get_option('l
 config_h.set('G_DISABLE_DEPRECATED', true)
 config_h.set_quoted('G_LOG_DOMAIN', 'GLib-OpenSSL')
 
-with_openssl = openssl.found()
-if with_openssl
+if host_machine.system() != 'windows'
   ca_certificates = get_option('with-ca-certificates')
   if ca_certificates == 'no'
     message('CA certificates disabled')


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