meson: make check and tests build on Windows with msvc
[platform/upstream/gstreamer.git] / libs / gst / check / meson.build
index 34896b7..ff82ce7 100644 (file)
@@ -38,7 +38,7 @@ configure_file(input : 'libcheck/check.h.in',
 
 gst_check = shared_library('gstcheck-@0@'.format(apiversion),
   gst_check_sources,
-  c_args : gst_c_args,
+  c_args : gst_c_args + ['-DGST_EXPORTS'],
   version : libversion,
   soversion : soversion,
   install : true,