Commit cfc565e2 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜

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.
parent bf1c1234
......@@ -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],
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment