Commit 86039b3b authored by Marvin Scholz's avatar Marvin Scholz Committed by Jean-Baptiste Kempf

Build: Link dav1d with static libdav1d on Windows

parent b3397e41
......@@ -43,12 +43,18 @@ dav1d_sources = files(
'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,
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment