From 1cc685abc4b9202976d59860a72df1381215b715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Mon, 20 Jun 2022 16:09:51 -0400 Subject: [PATCH] gio: Don't bundle gtrace in static builds They're already in the libglib.a file and it prevents the build from completing. --- gio/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gio/meson.build b/gio/meson.build index d20d751b5..ca969309a 100644 --- a/gio/meson.build +++ b/gio/meson.build @@ -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