mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
build: fix includes for VNC
vnc-tls.h is included by vnc.h, and it includes gnutls/gnutls.h. Hence, GnuTLS header files are needed by all files that include vnc.h, most notably qmp.c. Move these flags to QEMU_CFLAGS for simplicity. Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
bb5801f551
commit
ca273d58d8
3 changed files with 3 additions and 10 deletions
|
@ -14,6 +14,5 @@ common-obj-$(CONFIG_CURSES) += curses.o
|
|||
common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
|
||||
|
||||
$(obj)/sdl.o $(obj)/sdl_zoom.o: QEMU_CFLAGS += $(SDL_CFLAGS)
|
||||
$(obj)/vnc.o: QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
|
||||
|
||||
$(obj)/cocoa.o: $(SRC_PATH)/$(obj)/cocoa.m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue