[rhythmbox] build: set check arg to true for all uses of run_command()
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] build: set check arg to true for all uses of run_command()
- Date: Sun, 10 Apr 2022 09:06:49 +0000 (UTC)
commit 2a89e3d7831d7e37e550b21a7990d4064e51d543
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Apr 10 19:05:03 2022 +1000
build: set check arg to true for all uses of run_command()
meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 77a0b4c8e..45cf69180 100644
--- a/meson.build
+++ b/meson.build
@@ -150,7 +150,7 @@ cdata.set('HAVE_GNU_FWRITE_UNLOCKED', have_gnu_fwrite_unlocked)
have_cfmakeraw = cc.has_function('cfmakeraw', prefix: '#include <termios.h>')
cdata.set('HAVE_CFMAKERAW', have_cfmakeraw)
-gdk_targets = run_command(['pkg-config', '--variable', 'targets', 'gdk-3.0']).stdout().strip()
+gdk_targets = run_command(['pkg-config', '--variable', 'targets', 'gdk-3.0'], check: true).stdout().strip()
have_prctl = cc.has_function('prctl', prefix: '#include <sys/prctl.h>')
cdata.set('HAVE_PRCTL', have_prctl)
@@ -165,7 +165,7 @@ cdata.set('HAVE_PTHREAD_GETNAME_NP', have_pthread_getname_np)
-totem_plparser_uselibcamel = run_command(['pkg-config', '--variable', 'uselibcamel',
'totem-plparser']).stdout().strip()
+totem_plparser_uselibcamel = run_command(['pkg-config', '--variable', 'uselibcamel', 'totem-plparser'],
check: true).stdout().strip()
if gdk_targets.contains('x11')
x11 = dependency('x11', required: true)
@@ -203,7 +203,7 @@ enable_python = false
if get_option('plugins_python').allowed()
python = find_program('python3', required: get_option('plugins_python'))
pygobject = dependency('pygobject-3.0', version: '>= 3.0.0', required: get_option('plugins_python'))
- pyoverridesdir = run_command([python, '-c', '''import gi; print(gi._overridesdir)''']).stdout().strip()
+ pyoverridesdir = run_command([python, '-c', '''import gi; print(gi._overridesdir)'''], check:
true).stdout().strip()
enable_python = true
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]