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 2d4b7b831b98d36a5c92afe9a92f712d80250cdf..62ab7b4385c64510ee133f6427f6da24f77baf34 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()