summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/simple/Server.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-03-14 14:34:00 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-03-14 14:34:00 +0100
commitd83b1a9548833642b0c13918880bf16af0697c9d (patch)
tree192108c34f3e6a16ab9ff740b7737d336cf9b3ba /cpp/test/IceGrid/simple/Server.cpp
parentAdded new ctors to Ice::CommunicatorHolder (diff)
downloadice-d83b1a9548833642b0c13918880bf16af0697c9d.tar.bz2
ice-d83b1a9548833642b0c13918880bf16af0697c9d.tar.xz
ice-d83b1a9548833642b0c13918880bf16af0697c9d.zip
Fixed testing of static builds
Diffstat (limited to 'cpp/test/IceGrid/simple/Server.cpp')
-rw-r--r--cpp/test/IceGrid/simple/Server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/simple/Server.cpp b/cpp/test/IceGrid/simple/Server.cpp
index da146eac0c1..2eeeac34ef6 100644
--- a/cpp/test/IceGrid/simple/Server.cpp
+++ b/cpp/test/IceGrid/simple/Server.cpp
@@ -48,6 +48,9 @@ Server::run(int argc, char* argv[])
int
main(int argc, char* argv[])
{
+#ifdef ICE_STATIC_LIBS
+ Ice::registerIceSSL(false);
+#endif
Server app;
int rc = app.main(argc, argv);
return rc;