Commit ebd918c0 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜

meson: Pass -DGST_STATIC_COMPILATION for static builds

This is only needed on Windows when building with MSVC, but it is safe
to pass it everywhere.

Closes gstreamer/gstreamer#398
parent b19de413
......@@ -275,7 +275,13 @@ if build_gir
gst_compile_args = []
if get_option('default_library') == 'static'
gst_compile_args += ['-DGST_STATIC_COMPILATION']
gst_dep = declare_dependency(link_with : libgst,
compile_args : gst_compile_args,
include_directories : gst_incdirs,
dependencies : [glib_dep, gobject_dep, gmodule_dep],
# Everything that uses libgst needs this built to compile
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment