[gtk] build: fix meson.build when quartz is used
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] build: fix meson.build when quartz is used
- Date: Sat, 5 May 2018 00:49:09 +0000 (UTC)
commit 613f7609c203fad1f91f136f59f7c9f623defb2f
Author: Christian Hergert <chergert redhat com>
Date: Fri May 4 17:46:08 2018 -0700
build: fix meson.build when quartz is used
We need access to the variable earlier in the file when the quartz
backend is being setup.
gtk/meson.build | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index 0502ab91fd..6d4084a672 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -2,6 +2,15 @@ subdir('deprecated')
subdir('a11y')
subdir('inspector')
+gtk_cargs = [
+ '-DGTK_COMPILATION',
+ '-DG_LOG_DOMAIN="Gtk"',
+ '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
+ '-DGTK_BINARY_VERSION="@0@"'.format(gtk_binary_version),
+ '-DGTK_HOST="@0@"'.format(host_machine.system()),
+ '-DGTK_DATA_PREFIX="@0@"'.format(gtk_prefix),
+]
+
# List of sources that do not contain public API, and should not be
# introspected
gtk_private_sources = files([
@@ -827,15 +836,6 @@ gtkversion = configure_file(input: 'gtkversion.h.in',
configuration: gtkversion_cdata,
install_dir: join_paths(gtk_includedir, 'gtk-4.0/gtk'))
-gtk_cargs = [
- '-DGTK_COMPILATION',
- '-DG_LOG_DOMAIN="Gtk"',
- '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
- '-DGTK_BINARY_VERSION="@0@"'.format(gtk_binary_version),
- '-DGTK_HOST="@0@"'.format(host_machine.system()),
- '-DGTK_DATA_PREFIX="@0@"'.format(gtk_prefix),
-]
-
gtk_gen_headers = [
gtkmarshal_h,
gtktypebuiltins_h,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]