summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnthony Liguori2011-07-19 21:50:29 +0200
committerLuiz Capitulino2011-07-21 21:48:13 +0200
commite18df14185e817ba735bce57ecdef9a55fb3d093 (patch)
tree5d26fea7676efda106fbaa006cf98a8cb821c517 /Makefile
parentError: Fix build when qemu-common.h is not included (diff)
downloadqemu-e18df14185e817ba735bce57ecdef9a55fb3d093.tar.gz
qemu-e18df14185e817ba735bce57ecdef9a55fb3d093.tar.xz
qemu-e18df14185e817ba735bce57ecdef9a55fb3d093.zip
Add hard build dependency on glib
GLib is an extremely common library that has a portable thread implementation along with tons of other goodies. GLib and GObject have a fantastic amount of infrastructure we can leverage in QEMU including an object oriented programming infrastructure. Short term, it has a very nice thread pool implementation that we could leverage in something like virtio-9p. It also has a test harness implementation that this series will use. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b3ffbe2407..42ae4e52d2 100644
--- a/Makefile
+++ b/Makefile
@@ -106,6 +106,8 @@ audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS += $(FMOD_CFLAGS)
QEMU_CFLAGS+=$(CURL_CFLAGS)
+QEMU_CFLAGS+=$(GLIB_CFLAGS)
+
ui/cocoa.o: ui/cocoa.m
ui/sdl.o audio/sdlaudio.o ui/sdl_zoom.o baum.o: QEMU_CFLAGS += $(SDL_CFLAGS)