meson: fix build outside of gst-all
This commit is contained in:
parent
0555c09607
commit
db793e6cce
@ -25,7 +25,7 @@ pluginsdirs = [ ]
|
|||||||
# case where GStreamer is another subproject here.
|
# case where GStreamer is another subproject here.
|
||||||
if not meson.is_subproject()
|
if not meson.is_subproject()
|
||||||
pkgconfig = find_program('pkg-config')
|
pkgconfig = find_program('pkg-config')
|
||||||
runcmd = run_command(pkgconfig, '--variable=pluginsdir', 'gstreamer-' + apiversion)
|
runcmd = run_command(pkgconfig, '--variable=pluginsdir', 'gstreamer-' + api_version)
|
||||||
|
|
||||||
if runcmd.returncode() == 0
|
if runcmd.returncode() == 0
|
||||||
pluginsdirs = runcmd.stdout().split()
|
pluginsdirs = runcmd.stdout().split()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user