[libgd] meson: Fix missing implicit dependency on gtk-hacks



commit 8a68efc5bc2b4c3f24ad4a41b1656f8557bb8b44
Author: fosero <fosero users noreply github com>
Date:   Fri Feb 23 22:23:05 2018 +0100

    meson: Fix missing implicit dependency on gtk-hacks
    
    Both main-icon-box and main-view need gtk-hacks during build time. Make
    these widgets depend on gtk-hacks by default.

 libgd/meson.build |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgd/meson.build b/libgd/meson.build
index c9c6d18..1d2c61f 100644
--- a/libgd/meson.build
+++ b/libgd/meson.build
@@ -11,7 +11,9 @@ private_c_args = [
   '-DG_DISABLE_DEPRECATED',
 ]
 
-if get_option('with-gtk-hacks')
+if (get_option('with-gtk-hacks') or
+    get_option('with-main-icon-box') or
+    get_option('with-main-view'))
   sources += [
     'gd-icon-utils.c',
     'gd-icon-utils.h',


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