diff options
author | Debarshi Ray <debarshir@gnome.org> | 2018-08-30 16:50:40 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2018-08-30 17:57:19 +0200 |
commit | 7ae254bfc5f641c60566614e08245176f7bc5aa8 (patch) | |
tree | 7bf068713d4c0c342c16718212fe91a99003bc1d | |
parent | e085545c54b142d71287e3f104ab7717829ab868 (diff) | |
download | libgd-7ae254bfc5f641c60566614e08245176f7bc5aa8.tar.gz |
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.
-rw-r--r-- | libgd/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
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', |