[gtk+] broadway: Add missing dependency to build



commit bd89ff4c9ebdf800dcfd0f45dcbf8b098d524a50
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Nov 17 10:03:35 2017 +0000

    broadway: Add missing dependency to build
    
    The generated file clienthtml.h is #included by broadway-server.c, which
    is one of the sources of the broadway library — so clienthtml.h needs to
    be one of the sources of that library too.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790489

 gdk/broadway/meson.build |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gdk/broadway/meson.build b/gdk/broadway/meson.build
index 59f486d..4534a9d 100644
--- a/gdk/broadway/meson.build
+++ b/gdk/broadway/meson.build
@@ -31,7 +31,14 @@ gdk_broadway_public_headers = [
 
 gdk_broadway_deps = [shmlib]
 
+clienthtml_h = custom_target('clienthtml.h',
+  input : 'client.html',
+  output : 'clienthtml.h',
+  command : [find_program('toarray.pl'), 'client_html', '@INPUT@'],
+  capture : true)
+
 libgdk_broadway = static_library('gdk-broadway',
+  clienthtml_h,
   gdk_broadway_sources, gdkconfig, gdkenum_h,
   include_directories: [confinc, gdkinc],
   c_args: [
@@ -45,12 +52,6 @@ libgdk_broadway = static_library('gdk-broadway',
 
 broadwayd_syslib = os_win32 ? find_library('ws2_32') : shmlib
 
-clienthtml_h = custom_target('clienthtml.h',
-  input : 'client.html',
-  output : 'clienthtml.h',
-  command : [find_program('toarray.pl'), 'client_html', '@INPUT@'],
-  capture : true)
-
 broadwayjs_h = custom_target('broadwayjs.h',
   input : ['broadway.js', 'rawinflate.min.js'],
   output : 'broadwayjs.h',


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