[balsa] meson.build: Do not enter endless loop



commit 616c9b89888a7353d9501abc364fd42f567a6280
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Nov 13 17:51:34 2019 -0500

    meson.build: Do not enter endless loop
    
    * meson.build:  With meson version 0.52,
      "run_command('rm', '-f', conftest_htm)" makes ninja go into
      an endless loop, so we'll skip it, and just leave conftest.htm
      in the current build dir.

 ChangeLog   | 9 +++++++++
 meson.build | 5 ++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index 88a1e4342..5d9cfe979 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2019-11-13  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       meson.build: Do not enter endless loop
+
+       * meson.build:  With meson version 0.52,
+         "run_command('rm', '-f', conftest_htm)" makes ninja go into
+         an endless loop, so we'll skip it, and just leave conftest.htm
+         in the current build dir.
+
 2019-11-09  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Fix a mailbox-threading bug.
diff --git a/meson.build b/meson.build
index 8b87721a2..c2ab7e05c 100644
--- a/meson.build
+++ b/meson.build
@@ -196,7 +196,10 @@ if html_widget == 'webkit2'
       conf.set('HTML2TEXT_UCOPT', 1,
         description : 'Defined when HTML2TEXT accepts the --unicode-snob option.')
     endif
-    run_command('rm', '-f', conftest_htm)
+    # With meson version 0.52, the following run_command() makes ninja
+    # go into an endless loop, so we'll skip it, and just leave
+    # conftest.htm in the current build dir:
+    # run_command('rm', '-f', conftest_htm)
   else
     message('You cannot properly quote html-only messags.')
   endif


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