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.
This commit is contained in:
Matthias Clasen 2020-11-30 09:53:46 -05:00
parent 61e7326f22
commit f309fa21c9

View File

@ -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)