meson: Fix building with meson 0.34
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 5 Sep 2016 21:07:49 +0000 (18:07 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 5 Sep 2016 21:07:49 +0000 (18:07 -0300)
meson.build

index d594dac..a7e0197 100644 (file)
@@ -263,7 +263,7 @@ gnome = import('gnome')
 build_gir = gir.found() and not meson.is_cross_build() and not get_option('disable_introspection')
 
 gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);' ]
-vs_module_defs_dir = meson.source_root() + '/win32/common/'
+vs_module_defs_dir = meson.current_source_dir() + '/win32/common/'
 
 gst_c_args = ['-DHAVE_CONFIG_H']
 if libtype == 'static'