aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/xentop
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-17 17:17:57 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-17 17:17:57 +0100
commitd61113c5c7c2bceb9bab3dc97c51aa150ee8bf2f (patch)
tree9c11179d05ff2488215b96f0af9f3d3f058b2094 /tools/xenstat/xentop
parent7ffd47fbf69a7a972c1f7fd27757b86e3d710643 (diff)
downloadxen-d61113c5c7c2bceb9bab3dc97c51aa150ee8bf2f.tar.gz
xen-d61113c5c7c2bceb9bab3dc97c51aa150ee8bf2f.tar.bz2
xen-d61113c5c7c2bceb9bab3dc97c51aa150ee8bf2f.zip
[SOLARIS] On Solaris, GCC is configured to use Sun's LD. Fix the build to use
the correct flags, and link against libsocket where necessary. Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/xenstat/xentop')
-rw-r--r--tools/xenstat/xentop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile
index b1220b2d33..b97485f5d6 100644
--- a/tools/xenstat/xentop/Makefile
+++ b/tools/xenstat/xentop/Makefile
@@ -25,7 +25,7 @@ sbindir=$(prefix)/sbin
CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT)
LDFLAGS += -L$(XEN_LIBXENSTAT)
-LDLIBS += -lxenstat -lncurses
+LDLIBS += -lxenstat -lncurses $(SOCKET_LIBS)
.PHONY: all
all: xentop