summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Makefile b/cpp/src/Makefile
index 488bf8e5917..0307fe8cacf 100644
--- a/cpp/src/Makefile
+++ b/cpp/src/Makefile
@@ -24,7 +24,7 @@ ifeq ($(CPP11_MAPPING),yes)
IceBox \
IceLocatorDiscovery
-ifneq ($(findstring Ubuntu,$(shell uname -a)),)
+ifeq ($(BUILD_ICE_BT),yes)
SUBDIRS := $(SUBDIRS) IceXML IceBT
endif
@@ -70,7 +70,7 @@ endif
IceStorm \
IceGrid
-ifneq ($(findstring Ubuntu,$(shell uname -a)),)
+ifeq ($(BUILD_ICE_BT),yes)
SUBDIRS := $(SUBDIRS) IceBT
endif