[gtk/matthiasc/for-master] build: Use link_whole for linking our convenience libs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] build: Use link_whole for linking our convenience libs
- Date: Mon, 30 Nov 2020 14:57:18 +0000 (UTC)
commit f309fa21c9832832c47522970c688c78746476e2
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 30 09:53:46 2020 -0500
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]