[epiphany] Fix build race by declaring generated enums as target dependencies



commit 0658dc863d146f31799a46e1615c781eed8a9890
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Apr 27 11:28:25 2017 -0500

    Fix build race by declaring generated enums as target dependencies

 embed/meson.build       |    3 ++-
 lib/meson.build         |    3 ++-
 lib/widgets/meson.build |    3 ++-
 src/meson.build         |    3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/embed/meson.build b/embed/meson.build
index b391dd9..783aa96 100644
--- a/embed/meson.build
+++ b/embed/meson.build
@@ -67,5 +67,6 @@ libephyembed = static_library('ephyembed',
 ephyembed_dep = declare_dependency(
   link_with: libephyembed,
   include_directories: libephyembed_includes,
-  dependencies: libephyembed_deps
+  dependencies: libephyembed_deps,
+  sources: enums
 )
diff --git a/lib/meson.build b/lib/meson.build
index 3fdf0a5..1bac6d6 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -80,7 +80,8 @@ libephymisc = shared_library('ephymisc',
 ephymisc_dep = declare_dependency(
   link_with: libephymisc,
   include_directories: libephymisc_includes,
-  dependencies: libephymisc_deps
+  dependencies: libephymisc_deps,
+  sources: enums
 )
 
 subdir('widgets')
diff --git a/lib/widgets/meson.build b/lib/widgets/meson.build
index 2de9d3d..d759385 100644
--- a/lib/widgets/meson.build
+++ b/lib/widgets/meson.build
@@ -54,5 +54,6 @@ libephywidgets = static_library('ephywidgets',
 ephywidgets_dep = declare_dependency(
   link_with: libephywidgets,
   include_directories: libephywidgets_includes,
-  dependencies: libephywidgets_deps
+  dependencies: libephywidgets_deps,
+  sources: enums
 )
diff --git a/src/meson.build b/src/meson.build
index 8767b9a..41d4df0 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -86,7 +86,8 @@ libephymain = shared_library('ephymain',
 ephymain_dep = declare_dependency(
   link_with: libephymain,
   include_directories: libephymain_includes,
-  dependencies: libephymain_deps
+  dependencies: libephymain_deps,
+  sources: enums
 )
 
 


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