X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fgstreamer.git;a=blobdiff_plain;f=gst%2Fmeson.build;h=d29e3708204522de4e33ba9c308e5e299ea399bc;hp=145e97a89f1df5436a5014a73828b5e02b2fcaa3;hb=f5ed89dc8356b8f4fcaadd3a4524b4e1b88331c8;hpb=6a331c4e4d7d53fa1d6715e1a9e5e2494fbef12d diff --git a/gst/meson.build b/gst/meson.build index 145e97a..d29e370 100644 --- a/gst/meson.build +++ b/gst/meson.build @@ -275,7 +275,13 @@ if build_gir )] endif +gst_compile_args = [] +if get_option('default_library') == 'static' + gst_compile_args += ['-DGST_STATIC_COMPILATION'] +endif + 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