[glib-networking/glib-2-56] Fix building tls plugin without pkcs11
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/glib-2-56] Fix building tls plugin without pkcs11
- Date: Tue, 13 Mar 2018 18:47:55 +0000 (UTC)
commit 4e9bfe7e32767be5a18fc38734da09607f13799a
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date: Tue Mar 13 16:57:03 2018 +0000
Fix building tls plugin without pkcs11
https://bugzilla.gnome.org/show_bug.cgi?id=794292
meson.build | 3 +--
tls/tests/meson.build | 7 ++++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index f923e53..0eb39e3 100644
--- a/meson.build
+++ b/meson.build
@@ -92,6 +92,7 @@ pkg = import('pkgconfig')
po_dir = join_paths(meson.source_root(), 'po')
top_inc = include_directories('.')
+tls_inc = include_directories('tls')
subdir('po')
@@ -113,8 +114,6 @@ if enable_libproxy_support or enable_gnome_proxy_support
endif
if enable_pkcs11_support
- tls_inc = include_directories('tls')
-
subdir('tls/pkcs11')
endif
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index 7e1ae13..d3611c1 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -1,4 +1,7 @@
-incs = [top_inc]
+incs = [
+ top_inc,
+ tls_inc
+]
deps = [
gio_dep,
@@ -25,8 +28,6 @@ test_programs = [
]
if enable_pkcs11_support
- incs += tls_inc
-
pkcs11_deps = deps + [
libgiopkcs11_dep,
pkcs11_dep
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]