diff --git a/gdk/meson.build b/gdk/meson.build index dd9baec3e9..25c56c9c8e 100644 --- a/gdk/meson.build +++ b/gdk/meson.build @@ -364,8 +364,7 @@ endif libgdk = shared_library('gdk', - gdk_sources, - gdkenum_h, + sources: [gdk_sources, gdkconfig, gdkenum_h], c_args: ['-DHAVE_CONFIG_H', '-DGDK_COMPILATION'], include_directories: [confinc, xinc, wlinc], dependencies: gdk_deps, diff --git a/gtk/meson.build b/gtk/meson.build index f2c6379eb1..c5acb5f622 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -819,6 +819,7 @@ endif libgtk = shared_library('gtk', gtk_sources, + gtkmarshal_h, c_args: [ '-DGTK_COMPILATION', '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED', '-DGTK_BINARY_VERSION="3"', '-DGTK_HOST="bob"', @@ -839,6 +840,6 @@ libgtk_dep = declare_dependency( gtktypebuiltins_h, ], dependencies: gtk_deps, - link_with: libgtk, + link_with: [libgtk, libgdk], include_directories: [confinc, gtkinc] )