From cfc565e2d88a8e7d656b68c5c2a1b7acb08cdb7f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 23 Sep 2016 00:28:53 +0530 Subject: [PATCH] meson: Force gstenum_h to be built when using gst_dep This forces gstenumtypes.h to be built whenever something uses gst_dep as a subproject dependency. This is needed since gst/gst.h includes gstenumtypes.h Closes https://github.com/mesonbuild/meson/issues/714 which is not actually a Meson bug. --- gst/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/meson.build b/gst/meson.build index f522c0f7b3..e8b1f4d04f 100644 --- a/gst/meson.build +++ b/gst/meson.build @@ -253,5 +253,5 @@ gst_dep = declare_dependency(link_with : libgst, include_directories : gst_incdirs, dependencies : [glib_dep, gobject_dep, gmodule_dep], # Everything that uses libgst needs this built to compile - sources : gst_gen_sources, + sources : [gst_gen_sources, gstenum_h], )