mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
Work around issue using msys2 provided zlib
https://bugzilla.gnome.org/show_bug.cgi?id=775281
This commit is contained in:
parent
d3c029f102
commit
2b74d4d86d
1 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,14 @@ subprojects = [
|
|||
'gst-plugins-good',
|
||||
]
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
if not meson.is_subproject() and cc.get_id() == 'msvc'
|
||||
# Make it possible to use msys2 built zlib
|
||||
# which fails when not using the mingw toolchain as
|
||||
# it uses unistd.h
|
||||
add_global_arguments('-DZ_SOLO', language: 'c')
|
||||
endif
|
||||
|
||||
# FIXME Remove that check once we have ffmpeg as a gst-libav subproject
|
||||
libavfilter_dep = dependency('libavfilter', version: '>= 6.47.100', required: false)
|
||||
gst_libav = []
|
||||
|
|
Loading…
Reference in a new issue