meson: fix build outside of gst-all
authorTim-Philipp Müller <tim@centricular.com>
Sun, 23 Oct 2016 23:35:23 +0000 (00:35 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 23 Oct 2016 23:35:23 +0000 (00:35 +0100)
tests/check/meson.build

index 19bfdc4..38dc803 100644 (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()