aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed
diff options
context:
space:
mode:
authorTarek Soliman2017-04-30 02:42:48 -0500
committerEugene Sandulenko2017-04-30 09:42:48 +0200
commitd602850b0c3bd9e99d729da335ac3f068c5cd73a (patch)
tree0af85f36c051c63df5cd4637c71c270d4105312f /engines/testbed
parent9a8aea058589d54bdba178b5737a1fbc1ed5ff72 (diff)
downloadscummvm-rg350-d602850b0c3bd9e99d729da335ac3f068c5cd73a.tar.gz
scummvm-rg350-d602850b0c3bd9e99d729da335ac3f068c5cd73a.tar.bz2
scummvm-rg350-d602850b0c3bd9e99d729da335ac3f068c5cd73a.zip
TESTBED: Fix building with --disable-cloud (#938)
The linker fails when building with --disable-cloud and not passing --disable-libcurl
Diffstat (limited to 'engines/testbed')
-rw-r--r--engines/testbed/module.mk2
-rw-r--r--engines/testbed/testbed.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/testbed/module.mk b/engines/testbed/module.mk
index 99e6157cde..be733a5b60 100644
--- a/engines/testbed/module.mk
+++ b/engines/testbed/module.mk
@@ -14,7 +14,7 @@ MODULE_OBJS := \
testbed.o \
testsuite.o
-ifdef USE_LIBCURL
+ifdef USE_CLOUD
MODULE_OBJS += \
cloud.o
endif
diff --git a/engines/testbed/testbed.cpp b/engines/testbed/testbed.cpp
index 5943d47c58..b6364c98ad 100644
--- a/engines/testbed/testbed.cpp
+++ b/engines/testbed/testbed.cpp
@@ -39,7 +39,7 @@
#include "testbed/savegame.h"
#include "testbed/sound.h"
#include "testbed/testbed.h"
-#ifdef USE_LIBCURL
+#ifdef USE_CLOUD
#include "testbed/cloud.h"
#endif
#ifdef USE_SDL_NET
@@ -140,7 +140,7 @@ TestbedEngine::TestbedEngine(OSystem *syst)
// Midi
ts = new MidiTestSuite();
_testsuiteList.push_back(ts);
-#ifdef USE_LIBCURL
+#ifdef USE_CLOUD
// Cloud
ts = new CloudTestSuite();
_testsuiteList.push_back(ts);