meson: fix build outside of gst-all

This commit is contained in:
Tim-Philipp Müller 2016-10-24 00:35:23 +01:00
parent 0555c09607
commit db793e6cce

View file

@ -25,7 +25,7 @@ pluginsdirs = [ ]
# case where GStreamer is another subproject here.
if not meson.is_subproject()
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
pluginsdirs = runcmd.stdout().split()