aboutsummaryrefslogtreecommitdiff
path: root/backends/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'backends/module.mk')
-rw-r--r--backends/module.mk9
1 files changed, 8 insertions, 1 deletions
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 \