aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-20 12:29:19 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-12-22 12:04:00 +0000
commitca273d58d8a77d5cc9d42440bcdf9d7cad2054bc (patch)
tree7a750e08d485aa082853d5215160792c738573e8 /ui
parentbb5801f551ee8591d576d87a9290af297998e322 (diff)
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>
Diffstat (limited to 'ui')
-rw-r--r--ui/Makefile.objs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
index dc8f0e46ad..6768bb7f7e 100644
--- a/ui/Makefile.objs
+++ b/ui/Makefile.objs
@@ -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