summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-29 11:18:55 +0200
committerJose <jose@zeroc.com>2016-03-29 11:18:55 +0200
commit9012487f2f6a2374c4938fff67d7145d6fdff446 (patch)
treee6d75ea504fa49019b2518785217e6202b4d32ab
parentInstall rules fixes (diff)
downloadice-9012487f2f6a2374c4938fff67d7145d6fdff446.tar.bz2
ice-9012487f2f6a2374c4938fff67d7145d6fdff446.tar.xz
ice-9012487f2f6a2374c4938fff67d7145d6fdff446.zip
Mingw build fixes
-rwxr-xr-xcpp/allTests.py2
-rw-r--r--cpp/test/Ice/Makefile7
-rw-r--r--cpp/test/IceDiscovery/simple/Makefile8
3 files changed, 13 insertions, 4 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py
index 4540f054d0b..221b7b6f065 100755
--- a/cpp/allTests.py
+++ b/cpp/allTests.py
@@ -78,7 +78,7 @@ tests = [
("Ice/enums", ["once"]),
("Ice/logger", ["once"]),
("Ice/networkProxy", ["core", "noipv6", "nosocks"]),
- ("Ice/services", ["once"]),
+ ("Ice/services", ["once", "nomingw"]),
("IceSSL/configuration", ["once", "novalgrind"]), # valgrind doesn't work well with openssl
("IceBox/configuration", ["core", "noipv6", "novc100", "nomingw", "nomx"]),
("IceBox/admin", ["core", "noipv6", "novc100", "nomingw", "nomx"]),
diff --git a/cpp/test/Ice/Makefile b/cpp/test/Ice/Makefile
index 73b459f6f69..0e02cd9b376 100644
--- a/cpp/test/Ice/Makefile
+++ b/cpp/test/Ice/Makefile
@@ -51,8 +51,11 @@ SUBDIRS = proxy \
enums \
echo \
logger \
- networkProxy \
- services
+ networkProxy
+
+ifeq ($(findstring MINGW,$(UNAME)),)
+SUBDIRS := $(SUBDIRS) services
+endif
.PHONY: $(EVERYTHING) $(SUBDIRS)
diff --git a/cpp/test/IceDiscovery/simple/Makefile b/cpp/test/IceDiscovery/simple/Makefile
index aaa46cb42e6..ffff74f3bef 100644
--- a/cpp/test/IceDiscovery/simple/Makefile
+++ b/cpp/test/IceDiscovery/simple/Makefile
@@ -31,9 +31,15 @@ include $(top_srcdir)/config/Make.rules
CPPFLAGS := -I. -I../../include $(CPPFLAGS)
+ifneq ($(findstring MINGW,$(UNAME)),)
+ICEDISOVERY_LIBS = -licediscovery$(SOVERSION)$(COMPSUFFIX)
+else
+ICEDISOVERY_LIBS = -lIceDiscovery
+endif
+
$(CLIENT): $(COBJS)
rm -f $@
- $(call mktest,$@,$(COBJS), -lIceDiscovery $(LIBS))
+ $(call mktest,$@,$(COBJS), $(ICEDISOVERY_LIBS) $(LIBS))
$(SERVER): $(SOBJS)
rm -f $@