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 19bfdc4f6b8a2f3cd0cd2b1ff7cc652be717e8e0..38dc80395b5a700f4c3bd31c600b3d0141525a33 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()