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
This commit is contained in:
Philip Withnall 2017-11-17 10:03:35 +00:00
parent 810ba4edcf
commit bd89ff4c9e

View File

@ -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',