gstfull: Also include 'sources' from dependencies

It contains generated headers like mkenums.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/203>
This commit is contained in:
Xavier Claessens 2020-07-26 08:00:58 -04:00 committed by Stéphane Cerveau
parent 8a9d21ce18
commit b25e471eaf

View file

@ -274,7 +274,7 @@ if get_option('default_library') == 'static'
info = libraries_map[name]
exposed_libs += subproject(info[0]).get_variable(info[1])
depname = name == 'gstreamer' ? 'gstreamer-1.0' : 'gstreamer-@0@-1.0'.format(name)
incdir_deps += dependency(depname).partial_dependency(includes: true)
incdir_deps += dependency(depname).partial_dependency(includes: true, sources: true)
endforeach
# glib and gobject are part of our public API. If we are using glib from the