gio: Don't bundle gtrace in static builds

They're already in the libglib.a file and it prevents the build
from completing.
This commit is contained in:
Olivier Crête 2022-06-20 16:09:51 -04:00
parent 9a2bedb22c
commit 1cc685abc4

View File

@ -581,9 +581,12 @@ gio_sources = files(
'gzlibdecompressor.c',
'glistmodel.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 += contenttype_sources
gio_sources += gdbus_daemon_sources