aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenstat/Makefile')
-rw-r--r--tools/xenstat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/xenstat/Makefile b/tools/xenstat/Makefile
index 1daa628bcb..5fc3b52df5 100644
--- a/tools/xenstat/Makefile
+++ b/tools/xenstat/Makefile
@@ -6,8 +6,10 @@ SUBDIRS += libxenstat
# This doesn't cross-compile (cross-compile environments rarely have curses)
ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
+ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h)
SUBDIRS += xentop
endif
+endif
.PHONY: all install clean