[balsa] libbalsa/meson.build: Build without HTML



commit 74a48fc6ac1548ec1de013edb85ed0c8d9170e62
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Aug 26 08:42:33 2022 -0400

    libbalsa/meson.build: Build without HTML

 libbalsa/meson.build | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/libbalsa/meson.build b/libbalsa/meson.build
index 14c31724f..b18fc7057 100644
--- a/libbalsa/meson.build
+++ b/libbalsa/meson.build
@@ -147,11 +147,13 @@ libbalsa_a = static_library('balsa', libbalsa_a_sources,
                                                    libimap_include],
                             install             : false)
 
-libhtmlfilter_la = shared_library('htmlfilter',
-                                  'html-filter.c',
-                                  dependencies        : balsa_deps,
-                                  include_directories : [top_include],
-                                  install             : true,
-                                  install_dir         : balsa_web_extensions)
+if html_widget == 'webkit2'
+  libhtmlfilter_la = shared_library('htmlfilter',
+                                    'html-filter.c',
+                                    dependencies        : balsa_deps,
+                                    include_directories : [top_include],
+                                    install             : true,
+                                    install_dir         : balsa_web_extensions)
+endif # html_widget == 'webkit2'
 
 subdir('imap')


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