mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
validate:build: Disable static building validate tracer
It introduce duplication of symbols and we need to rework the way we implement it Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1093>
This commit is contained in:
parent
6b2c333093
commit
2fd461a032
1 changed files with 15 additions and 10 deletions
|
@ -66,6 +66,7 @@ gstvalidate = library('gstvalidate-1.0',
|
|||
c_args : [gst_c_args] + ['-D_GNU_SOURCE'],
|
||||
dependencies : validate_deps)
|
||||
|
||||
if not static_build
|
||||
gstvalidatetracer = library('gstvalidatetracer',
|
||||
sources: files('gst-validate-runner.c') + gst_validate_enums,
|
||||
include_directories : [inc_dirs],
|
||||
|
@ -74,9 +75,14 @@ gstvalidatetracer = library('gstvalidatetracer',
|
|||
install_dir : plugins_install_dir,
|
||||
objects: gstvalidate.extract_objects(gstvalidate_sources),
|
||||
dependencies : validate_deps)
|
||||
|
||||
plugins += gstvalidatetracer
|
||||
|
||||
pkgconfig.generate(gstvalidatetracer, install_dir : plugins_pkgconfig_install_dir)
|
||||
else
|
||||
warning('Statically building GstValidate as a tracer is not supported yet.')
|
||||
endif
|
||||
|
||||
|
||||
pkg_name = 'gst-validate-1.0'
|
||||
library_def = {'lib': gstvalidate}
|
||||
pkgconfig.generate(gstvalidate,
|
||||
|
@ -123,4 +129,3 @@ validate_dep = declare_dependency(link_with : gstvalidate,
|
|||
|
||||
meson.override_dependency(pkg_name, validate_dep)
|
||||
|
||||
pkgconfig.generate(gstvalidatetracer, install_dir : plugins_pkgconfig_install_dir)
|
||||
|
|
Loading…
Reference in a new issue