summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h.meson2
-rw-r--r--gtk/meson.build1
-rw-r--r--modules/printbackends/meson.build2
3 files changed, 4 insertions, 1 deletions
diff --git a/config.h.meson b/config.h.meson
index 0e8b63f6c1..65d7e09b08 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -315,3 +315,5 @@
#mesondefine GTK_DATADIR
#mesondefine GTK_LIBDIR
+
+#mesondefine GTK_PRINT_BACKENDS
diff --git a/gtk/meson.build b/gtk/meson.build
index 85fe62ab01..55c921a6b5 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -768,7 +768,6 @@ gtk_cargs = [
'-DGTK_SYSCONFDIR="' + get_option('prefix') + '/etc"',
'-DGTK_DATADIR="' + get_option('datadir') + '"',
'-DGTK_DATA_PREFIX="'+ get_option('prefix') + '"',
- '-DGTK_PRINT_BACKENDS="null"', # FIXME
]
gtk_sources += [
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index 80c94698c5..c9f970675f 100644
--- a/modules/printbackends/meson.build
+++ b/modules/printbackends/meson.build
@@ -111,6 +111,8 @@ printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdi
message('Print backends: ' + ' '.join(print_backends))
+cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends))
+
foreach print_backend : print_backends
subdir(print_backend)
endforeach