mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
meson: Make sure devenv uses tools linked on gst-full
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2959>
This commit is contained in:
parent
cbc6761199
commit
fe40a73973
1 changed files with 8 additions and 1 deletions
|
@ -261,7 +261,14 @@ pathsep = host_machine.system() == 'windows' ? ';' : ':'
|
|||
all_plugins_paths = pathsep.join(all_plugins_paths)
|
||||
|
||||
devenv = environment()
|
||||
devenv.prepend('GST_PLUGIN_PATH', all_plugins_dirs)
|
||||
if not building_full
|
||||
devenv.prepend('GST_PLUGIN_PATH', all_plugins_dirs)
|
||||
else
|
||||
# Make sure the current build directory is first in PATH so we prefer tools
|
||||
# built here that links on gst-full instead instead of those built in
|
||||
# subprojects.
|
||||
devenv.prepend('PATH', meson.current_build_dir())
|
||||
endif
|
||||
devenv.set('CURRENT_GST', meson.current_source_dir())
|
||||
devenv.set('GST_VERSION', meson.project_version())
|
||||
devenv.set('GST_ENV', 'gst-' + meson.project_version())
|
||||
|
|
Loading…
Reference in a new issue