meson: fix build outside of gst-all
authorTim-Philipp Müller <tim@centricular.com>
Sun, 23 Oct 2016 23:28:27 +0000 (00:28 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 23 Oct 2016 23:28:27 +0000 (00:28 +0100)
Unknown variable "apiversion".

tests/check/meson.build

index 2d4b7b8..62ab7b4 100644 (file)
@@ -98,7 +98,7 @@ pluginsdirs = [  ]
 if not meson.is_subproject()
   pkgconfig = find_program('pkg-config')
   runcmd = run_command(pkgconfig, '--variable=pluginsdir',
-      'gstreamer-' + apiversion)
+      'gstreamer-' + api_version)
 
   if runcmd.returncode() == 0
       pluginsdirs = runcmd.stdout().split()