diff --git a/glib/meson.build b/glib/meson.build index 56a8a7d62..56adf8758 100644 --- a/glib/meson.build +++ b/glib/meson.build @@ -397,7 +397,17 @@ libglib = library('glib-2.0', link_args : [noseh_link_args, glib_link_flags, win32_ldflags], include_directories : configinc, link_with: [charset_lib, gnulib_lib], - dependencies : [pcre2, thread_dep, librt] + libintl_deps + libiconv + platform_deps + [gnulib_libm_dependency, libm] + [libsysprof_capture_dep], + dependencies : [ + gnulib_libm_dependency, + libiconv, + libintl_deps, + libm, + librt, + libsysprof_capture_dep, + pcre2, + platform_deps, + thread_dep, + ], c_args : glib_c_args, objc_args : glib_c_args, gnu_symbol_visibility : 'hidden',