Build log.c for test_cli

On Windows, sc_log_windows_error() is called from net.c, so log.c must
also be compiled.

Fixes #3542 <https://github.com/Genymobile/scrcpy/issues/3542>
pull/3546/head
Romain Vimont 2 years ago
parent ffc7b91693
commit b62424a98a

@ -267,6 +267,7 @@ if get_option('buildtype') == 'debug'
'tests/test_cli.c',
'src/cli.c',
'src/options.c',
'src/util/log.c',
'src/util/net.c',
'src/util/str.c',
'src/util/strbuf.c',

Loading…
Cancel
Save