mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
gst-env: Use locally built GStreamer utility programs
The host environment might not have gst-launch-1.0 and gst-inspect-1.0 installed. Fixes #52
This commit is contained in:
parent
a15dc0b589
commit
3dc7c9de94
1 changed files with 8 additions and 0 deletions
|
@ -167,6 +167,14 @@ def get_subprocess_env(options, gst_version):
|
||||||
prepend_env_var(env, "PATH", os.path.join(SCRIPTDIR, 'gstreamer', 'tools'),
|
prepend_env_var(env, "PATH", os.path.join(SCRIPTDIR, 'gstreamer', 'tools'),
|
||||||
options.sysroot)
|
options.sysroot)
|
||||||
|
|
||||||
|
# tools: gst-launch-1.0, gst-inspect-1.0
|
||||||
|
prepend_env_var(env, "PATH", os.path.join(options.builddir, 'subprojects',
|
||||||
|
'gstreamer', 'tools'),
|
||||||
|
options.sysroot)
|
||||||
|
prepend_env_var(env, "PATH", os.path.join(options.builddir, 'subprojects',
|
||||||
|
'gst-plugins-base', 'tools'),
|
||||||
|
options.sysroot)
|
||||||
|
|
||||||
# Library and binary search paths
|
# Library and binary search paths
|
||||||
prepend_env_var(env, "PATH", os.path.join(PREFIX_DIR, 'bin'),
|
prepend_env_var(env, "PATH", os.path.join(PREFIX_DIR, 'bin'),
|
||||||
options.sysroot)
|
options.sysroot)
|
||||||
|
|
Loading…
Reference in a new issue