mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
gst-full: Use gst_dep dependency
It is needed because that dependency object brings generated headers too.
This commit is contained in:
parent
315c5f87e2
commit
6d79e7cc97
1 changed files with 1 additions and 3 deletions
|
@ -228,9 +228,7 @@ if get_option('default_library') == 'static'
|
||||||
)
|
)
|
||||||
install_headers('gstinitstaticplugins.h', subdir : 'gstreamer-1.0/gst')
|
install_headers('gstinitstaticplugins.h', subdir : 'gstreamer-1.0/gst')
|
||||||
|
|
||||||
# Get include paths in source tree
|
|
||||||
gst_dep = subproject('gstreamer').get_variable('gst_dep')
|
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.
|
# Get a list of libraries that needs to be exposed in the ABI.
|
||||||
exposed_libs = []
|
exposed_libs = []
|
||||||
|
@ -257,7 +255,7 @@ if get_option('default_library') == 'static'
|
||||||
init_static_plugins_c,
|
init_static_plugins_c,
|
||||||
link_with : all_plugins,
|
link_with : all_plugins,
|
||||||
link_whole : exposed_libs,
|
link_whole : exposed_libs,
|
||||||
dependencies : gst_includes,
|
dependencies : gst_dep,
|
||||||
install : true,
|
install : true,
|
||||||
)
|
)
|
||||||
pkgconfig.generate(gstfull,
|
pkgconfig.generate(gstfull,
|
||||||
|
|
Loading…
Reference in a new issue