build: Use link_whole for GDK backends

When linking libgdk4 to each backend's static library, we want to use
the whole-archive support.
This commit is contained in:
Emmanuele Bassi 2017-04-28 22:41:50 +01:00
parent d09ccaaf35
commit 9b7148cdbd

View File

@ -207,7 +207,7 @@ libgdk = static_library('gdk',
'-DG_LOG_DOMAIN="Gdk"',
'-DG_LOG_USE_STRUCTURED=1',
] + common_cflags,
link_with: gdk_backends,
link_whole: gdk_backends,
link_args: common_ldflags)
# We don't have link_with: to internal static libs here on purpose, just