[mutter/wip/carlos/fix-dnd-icon: 1/3] meson: Add mutter_built_sources to libmutter declared dependency



commit 9e1701d48a337ad4202ef85ee10f80a77d2fac8d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Nov 27 16:28:16 2018 +0100

    meson: Add mutter_built_sources to libmutter declared dependency
    
    If meson tries to get ahead and generate object files for tests
    at the same time than building libmutter, those may randomly fail
    if meson did not create the libmutter generated headers yet.
    
    Add those to the declared dependency, so the files are ensured to
    be created before anything gets to use it.
    
    Closes: https://gitlab.gnome.org/GNOME/mutter/issues/404

 src/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/meson.build b/src/meson.build
index fcad37870..e9f0f6adc 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -745,6 +745,7 @@ libmutter = shared_library(libmutter_name,
 libmutter_dep = declare_dependency(
   link_with: libmutter,
   include_directories: mutter_includes,
+  sources: mutter_built_sources,
   dependencies: [
     libmutter_cogl_dep,
     libmutter_clutter_dep,


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