Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lhomme <slhomme@videolan.org>2018-09-27 15:02:31 +0300
committerSteve Lhomme <slhomme@videolan.org>2018-09-28 13:44:22 +0300
commit58261250109337fc1f4cb2a9330fe3aa868e9d3f (patch)
treefe2a8f057394e8e7e45f70f12f8d758175f0b077 /meson.build
parente2d329fbeb0084432041782902a82f9cea884cbe (diff)
win32: provide a BSD version of getopt
That's the one used in mingw64
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 67dfa32..986b120 100644
--- a/meson.build
+++ b/meson.build
@@ -305,6 +305,10 @@ dav1d_sources = files(
'tools/output/yuv.c'
)
+if cc.get_id() == 'msvc'
+ dav1d_sources += files('tools/compat/getopt.c')
+endif
+
dav1d = executable('dav1d',
dav1d_sources, rev_target,
link_with: libdav1d,