Marc-André Lureau 7a00875183 tests: fix linking test-char on win32
test.char.exe fails to link:
qemu-char.o: In function `win_chr_free':
/home/elmarco/src/qemu/qemu-char.c:2149: undefined reference to `qemu_del_polling_cb'
/home/elmarco/src/qemu/qemu-char.c:2151: undefined reference to `qemu_del_polling_cb'
qemu-char.o: In function `win_stdio_thread':
/home/elmarco/src/qemu/qemu-char.c:2568: undefined reference to `qemu_del_wait_object'
qemu-char.o: In function `qemu_chr_open_stdio':
/home/elmarco/src/qemu/qemu-char.c:2661: undefined reference to `qemu_add_wait_object'
/home/elmarco/src/qemu/qemu-char.c:2646: undefined reference to
`qemu_add_wait_object'
...

It needs main-loop.o symbols, among others. Linking with
$(test-block-obj-y) brings what's necessary. We could try to eventually
strip to the minimum if needed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-27 18:07:58 +01:00
..
2016-07-25 13:23:18 -05:00
2017-01-16 10:10:35 +01:00
2017-01-10 08:49:59 -08:00
2016-10-26 08:29:01 -07:00
2016-11-03 14:41:53 +00:00
2016-11-14 11:15:54 -05:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:21 +04:00
2017-01-10 08:49:59 -08:00
2016-09-08 17:57:32 +04:00
2016-09-08 17:57:32 +04:00
2016-11-15 15:41:00 +00:00
2016-11-11 20:53:23 +08:00