[glib-networking] Don't search PATH for find-ca-certificates



commit 18807e85b688c20cd3a1ebbd87e099076bdd1771
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Oct 21 14:40:44 2017 -0500

    Don't search PATH for find-ca-certificates

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index a8efc1f..fd582cf 100644
--- a/meson.build
+++ b/meson.build
@@ -68,7 +68,7 @@ if enable_tls_support
   gnutls_dep = dependency('gnutls', version: '>= 3.0', required: true)
 
   msg = 'location of system Certificate Authority list: '
-  res = run_command(find_program('find-ca-certificates'), get_option('ca_certificates_path'))
+  res = run_command(join_paths(meson.source_root(), 'find-ca-certificates'), 
get_option('ca_certificates_path'))
   assert(res.returncode() == 0, msg + ' could not find any CA certificate store. Use 
-Dca_certificates_path=PATH to set, or -Dtls_support=no to disable')
   ca_certificates_path = res.stdout().strip()
   message(msg + ca_certificates_path)


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