Commit d38db4dc authored by Tim-Philipp Müller's avatar Tim-Philipp Müller Committed by Emmanuele Bassi
Browse files

meson: gtk: set GTK_PRINT_BACKENDS define properly

parent a35e5f31
......@@ -315,3 +315,5 @@
#mesondefine GTK_DATADIR
#mesondefine GTK_LIBDIR
#mesondefine GTK_PRINT_BACKENDS
......@@ -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 += [
......
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment