ref: 86039b3b1c614d2bec321c8bd45fb7d2d4b6d17d
parent: b3397e4184d9b60f48c87ed45f23535b572f3234
author: Marvin Scholz <[email protected]>
date: Sat Sep 29 15:09:26 EDT 2018
Build: Link dav1d with static libdav1d on Windows
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -43,12 +43,18 @@
'output/yuv.c',
)
+if host_machine.system() == 'windows'
+ dav1d_link_with_lib = libdav1d_private
+else
+ dav1d_link_with_lib = libdav1d
+endif
+
dav1d = executable('dav1d',
dav1d_sources,
rev_target,
- link_with : libdav1d,
+ link_with : dav1d_link_with_lib,
include_directories : [dav1d_inc_dirs],
- dependencies : [getopt_dependency],
+ dependencies : [getopt_dependency, thread_dependency],
install : true,
)