gst-full: Use gst_dep dependency

It is needed because that dependency object brings generated headers
too.
This commit is contained in:
Xavier Claessens 2020-03-16 21:54:26 -04:00
parent 315c5f87e2
commit 6d79e7cc97

View file

@ -228,9 +228,7 @@ if get_option('default_library') == 'static'
)
install_headers('gstinitstaticplugins.h', subdir : 'gstreamer-1.0/gst')
# Get include paths in source tree
gst_dep = subproject('gstreamer').get_variable('gst_dep')
gst_includes = gst_dep.partial_dependency(includes: true, compile_args: true)
# Get a list of libraries that needs to be exposed in the ABI.
exposed_libs = []
@ -257,7 +255,7 @@ if get_option('default_library') == 'static'
init_static_plugins_c,
link_with : all_plugins,
link_whole : exposed_libs,
dependencies : gst_includes,
dependencies : gst_dep,
install : true,
)
pkgconfig.generate(gstfull,