meson: gtk: set GTK_PRINT_BACKENDS define properly
This commit is contained in:
committed by
Emmanuele Bassi
parent
30c0be4a61
commit
a2cef835df
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user