Merge branch 'gio-dont-include-gtrace' into 'main'

gio: Don't bundle gtrace in static builds

See merge request GNOME/glib!2758
This commit is contained in:
Philip Withnall 2022-06-21 09:56:18 +00:00
commit fb377b70d0

View File

@ -581,9 +581,12 @@ gio_sources = files(
'gzlibdecompressor.c', 'gzlibdecompressor.c',
'glistmodel.c', 'glistmodel.c',
'gliststore.c', 'gliststore.c',
'../glib/gtrace.c',
) )
if get_option('default_library') != 'static'
gio_sources += files ('../glib/gtrace.c')
endif
gio_sources += appinfo_sources gio_sources += appinfo_sources
gio_sources += contenttype_sources gio_sources += contenttype_sources
gio_sources += gdbus_daemon_sources gio_sources += gdbus_daemon_sources