[libnotify] build: Avoid warnings or mis-behavior in recent meson versions



commit 736fcea1d0377e6082e7cf738c3cd7cd42b3c1a0
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Apr 21 16:36:53 2022 +0200

    build: Avoid warnings or mis-behavior in recent meson versions
    
    In future meson will check the run_command result by default, while it's
    fine for us, it would cause our nicer error message not to work.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 088b7ed..a803f0d 100644
--- a/meson.build
+++ b/meson.build
@@ -66,7 +66,7 @@ if get_option('man')
     '@INPUT@',
   ]
 
-  testrun = run_command(xsltproc, '--nonet', stylesheet)
+  testrun = run_command(xsltproc, '--nonet', stylesheet, check: false)
 
   if testrun.returncode() != 0
     error('DocBook stylesheet for generating man pages not found, you need to install docbook-xsl-ns or 
similar package.')


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