[rhythmbox/mesonjunk: 11/11] build: minor shuffling
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/mesonjunk: 11/11] build: minor shuffling
- Date: Sun, 29 May 2022 07:50:35 +0000 (UTC)
commit 62c406a928eba96a56f5c33e6c971c354ce7cf4d
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun May 29 17:44:30 2022 +1000
build: minor shuffling
meson.build | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 89a7ddb0d..4676b78a2 100644
--- a/meson.build
+++ b/meson.build
@@ -98,6 +98,9 @@ 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'], check: true).stdout().strip()
+if gdk_targets.contains('x11')
+ x11 = dependency('x11', required: true)
+endif
have_prctl = cc.has_function('prctl', prefix: '#include <sys/prctl.h>')
cdata.set('HAVE_PRCTL', have_prctl)
@@ -110,10 +113,6 @@ have_pthread_getname_np = cc.links('''
}''', name: 'pthread_getname_np')
cdata.set('HAVE_PTHREAD_GETNAME_NP', have_pthread_getname_np)
-if gdk_targets.contains('x11')
- x11 = dependency('x11', required: true)
-endif
-
cdata.set('GETTEXT_PACKAGE', '"rhythmbox"')
cdata.set('PACKAGE', '"rhythmbox"')
cdata.set('VERSION', '@0@'.format(meson.project_version()))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]