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>
This commit is contained in:
Romain Vimont 2022-10-19 15:17:43 +02:00
parent ffc7b91693
commit b62424a98a
1 changed files with 1 additions and 0 deletions

View File

@ -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',