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

View file

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