diff options
author | Steve Lhomme <slhomme@videolan.org> | 2018-09-27 15:02:31 +0300 |
---|---|---|
committer | Steve Lhomme <slhomme@videolan.org> | 2018-09-28 13:44:22 +0300 |
commit | 58261250109337fc1f4cb2a9330fe3aa868e9d3f (patch) | |
tree | fe2a8f057394e8e7e45f70f12f8d758175f0b077 /meson.build | |
parent | e2d329fbeb0084432041782902a82f9cea884cbe (diff) |
win32: provide a BSD version of getopt
That's the one used in mingw64
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
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, |