From f3ccb3a5f42b38a4d3e5628234eda077464aecff Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 21 Dec 2020 19:09:24 +0000 Subject: build: Put back the list of print backends in config.h The GTK_PRINT_BACKENDS symbol was dumped too early into the configuration data object, and was missing all enabled print backends. Fixes: #3486 --- modules/printbackends/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build index 0d5bcf2c76..c4dd8f86bb 100644 --- a/modules/printbackends/meson.build +++ b/modules/printbackends/meson.build @@ -16,8 +16,6 @@ endif printbackends_subdir = 'gtk-4.0/@0@/printbackends'.format(gtk_binary_version) printbackends_install_dir = join_paths(get_option('libdir'), printbackends_subdir) -cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends)) - printbackends_args = [ '-DGTK_COMPILATION', '-DGTK_DISABLE_DEPRECATION_WARNINGS', @@ -77,3 +75,6 @@ shared_module('printbackend-file', install_dir: printbackends_install_dir, install: true, ) + +# Store the print backends in the config.h +cdata.set_quoted('GTK_PRINT_BACKENDS', ','.join(print_backends)) -- cgit v1.2.1