meson: fix build outside of gst-all

This commit is contained in:
Tim-Philipp Müller 2016-10-24 00:34:15 +01:00
parent 91e9a94492
commit 6beadb9062

View file

@ -134,7 +134,7 @@ pluginsdirs = [ ]
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', runcmd = run_command(pkgconfig, '--variable=pluginsdir',
'gstreamer-' + apiversion, 'gstreamer-plugins-base-' + api_version) 'gstreamer-' + api_version, 'gstreamer-plugins-base-' + api_version)
if runcmd.returncode() == 0 if runcmd.returncode() == 0
pluginsdirs = runcmd.stdout().split() pluginsdirs = runcmd.stdout().split()