shithub: dav1d

Download patch

ref: 2502742a32b20c0081604f96c927e264b35e04d2
parent: 80e1d0cd23b1a7fb1901e12478caf029f316ba11
author: James Almer <[email protected]>
date: Wed Feb 6 19:43:31 EST 2019

build: fix defining CONFIG_LOG when logging is disabled

Removes compilation warnings about CONFIG_LOG not being defined.

--- a/meson.build
+++ b/meson.build
@@ -71,9 +71,7 @@
 endif
 
 # Logging option
-if get_option('logging')
-    cdata.set('CONFIG_LOG', 1)
-endif
+cdata.set10('CONFIG_LOG', get_option('logging'))
 
 #
 # OS/Compiler checks and defines