From e8b70a4686916774a1bf499c9c3136e3052b6b43 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 17 Oct 2016 18:45:12 +0200 Subject: ALL: Fix compilation with disabled cloud but enabled libcurl --- backends/module.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'backends/module.mk') diff --git a/backends/module.mk b/backends/module.mk index 10dde0be8f..158f9a3b7c 100644 --- a/backends/module.mk +++ b/backends/module.mk @@ -19,6 +19,8 @@ MODULE_OBJS := \ saves/default/default-saves.o \ timer/default/default-timer.o +ifdef USE_CLOUD + ifdef USE_LIBCURL MODULE_OBJS += \ cloud/cloudicon.o \ @@ -52,7 +54,12 @@ MODULE_OBJS += \ cloud/onedrive/onedrivecreatedirectoryrequest.o \ cloud/onedrive/onedrivetokenrefresher.o \ cloud/onedrive/onedrivelistdirectoryrequest.o \ - cloud/onedrive/onedriveuploadrequest.o \ + cloud/onedrive/onedriveuploadrequest.o +endif +endif + +ifdef USE_LIBCURL +MODULE_OBJS += \ networking/curl/connectionmanager.o \ networking/curl/networkreadstream.o \ networking/curl/curlrequest.o \ -- cgit v1.2.3