[gtk+] build: Use link_whole for GDK backends



commit 9b7148cdbd052394aafdf295c1146ade312827f5
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Apr 28 22:41:50 2017 +0100

    build: Use link_whole for GDK backends
    
    When linking libgdk4 to each backend's static library, we want to use
    the whole-archive support.

 gdk/meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/meson.build b/gdk/meson.build
index c6f4735..8cd144e 100644
--- a/gdk/meson.build
+++ b/gdk/meson.build
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]