From 7ae254bfc5f641c60566614e08245176f7bc5aa8 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 30 Aug 2018 16:50:40 +0200 Subject: build: Fix missing implicit dependencies in the Meson build main-box directly depends on main-icon-box, and indirectly on gtk-hacks through main-icon-box. Therefore, only specifying with-main-box should include both main-icon-box and gtk-hacks. --- libgd/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libgd/meson.build b/libgd/meson.build index 1d2c61f..6ba7871 100644 --- a/libgd/meson.build +++ b/libgd/meson.build @@ -12,6 +12,7 @@ private_c_args = [ ] if (get_option('with-gtk-hacks') or + get_option('with-main-box') or get_option('with-main-icon-box') or get_option('with-main-view')) sources += [ @@ -33,7 +34,8 @@ if (get_option('with-main-box') or ] c_args += '-DLIBGD__BOX_COMMON=1' - if get_option('with-main-icon-box') + if (get_option('with-main-box') or + get_option('with-main-icon-box')) sources += [ 'gd-main-icon-box.c', 'gd-main-icon-box.h', -- cgit v1.2.1