aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 49fd2fa4b2..781e7ed3c2 100644
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,10 @@ endif
BLOCK_OBJS += block/raw-posix.o
endif
+ifdef CONFIG_CURL
+BLOCK_OBJS += block/curl.o
+endif
+
######################################################################
# libqemu_common.a: Target independent part of system emulation. The
# long term path is to suppress *all* target specific code in case of
@@ -196,6 +200,8 @@ ifdef CONFIG_XEN
OBJS += $(XEN_OBJS)
endif
+LIBS+=$(CURL_LIBS)
+
cocoa.o: cocoa.m
keymaps.o: keymaps.c keymaps.h