summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-21 11:49:46 -0400
committerPhilip Withnall <pwithnall@endlessos.org>2020-11-14 19:04:45 +0000
commit89d45c7f6a7f597397402ec6d7dd2c27eff13ca8 (patch)
treee944963752f2fae6ef8a191f4fe58a86bf6e50d9
parentd4cb76f3d3e3799c2f4e8d1759f6a5948487b908 (diff)
downloadglib-89d45c7f6a7f597397402ec6d7dd2c27eff13ca8.tar.gz
gio: Include sysprof tracing support
Include gtrace.c in the sources, so we can use the same g_trace_ apis in GIO when sysprof support is enabled.
-rw-r--r--gio/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/meson.build b/gio/meson.build
index 37af9e438..f79d22053 100644
--- a/gio/meson.build
+++ b/gio/meson.build
@@ -577,6 +577,7 @@ gio_sources = files(
'gzlibdecompressor.c',
'glistmodel.c',
'gliststore.c',
+ '../glib/gtrace.c',
)
gio_sources += appinfo_sources
@@ -791,7 +792,7 @@ libgio = library('gio-2.0',
# '$(gio_win32_res_ldflag)',
dependencies : [libz_dep, libdl_dep, libmount_dep, libglib_dep,
libgobject_dep, libgmodule_dep, selinux_dep, xattr_dep,
- platform_deps, network_libs],
+ platform_deps, network_libs, libsysprof_capture_dep],
c_args : gio_c_args,
objc_args : gio_c_args,
# intl.lib is not compatible with SAFESEH