From f309fa21c9832832c47522970c688c78746476e2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Nov 2020 09:53:46 -0500 Subject: [PATCH] build: Use link_whole for linking our convenience libs Without this, we lose exported symbols from e.g. libgsk that are not used elsewhere in the code. --- gtk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/meson.build b/gtk/meson.build index 234c11bbf9..d7f206c231 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -1095,7 +1095,7 @@ libgtk = library('gtk-4', c_args: gtk_cargs + common_cflags, include_directories: [confinc, gdkinc, gskinc, gtkinc], dependencies: gtk_deps + [libgtk_css_dep, libgdk_dep, libgsk_dep], - link_with: [libgtk_css, libgdk, libgsk, ], + link_whole: [libgtk_css, libgdk, libgsk, ], link_args: common_ldflags + gtk_ldflags, install: true)