shithub: dav1d

Download patch

ref: d06e0d6d9d0393db7d4da1304b048f29e9724eff
parent: 9a2582c4f5b4d0e06ca508490dbb4c7a652f045d
author: Steve Lhomme <[email protected]>
date: Fri Nov 9 09:01:49 EST 2018

do not try to build the windows .rc file if we're building for a static target

--- a/src/meson.build
+++ b/src/meson.build
@@ -131,7 +131,7 @@
 # Windows .rc file
 #
 
-if host_machine.system() == 'windows'
+if host_machine.system() == 'windows' and get_option('default_library') != 'static'
     winmod = import('windows')
     rc_data = configuration_data()
     rc_data.set('VERSION_MAJOR', dav1d_version_major)