aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/xentop
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-23 15:18:46 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-03-23 15:18:46 +0000
commit88b247616f8db23fcf1edcdc441c19adf40eac05 (patch)
tree0b103a0e66483850995631b7f11866d8604ad164 /tools/xenstat/xentop
parent1ab2732dd07007b64250ad42794f1c79cf02d8a7 (diff)
downloadxen-88b247616f8db23fcf1edcdc441c19adf40eac05.tar.gz
xen-88b247616f8db23fcf1edcdc441c19adf40eac05.tar.bz2
xen-88b247616f8db23fcf1edcdc441c19adf40eac05.zip
tools: xenstat: install and use shared library
Remove .so files from the .a file. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenstat/xentop')
-rw-r--r--tools/xenstat/xentop/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile
index d31ba06066..fb025d4106 100644
--- a/tools/xenstat/xentop/Makefile
+++ b/tools/xenstat/xentop/Makefile
@@ -18,9 +18,8 @@ ifneq ($(XENSTAT_XENTOP),y)
all install xentop:
else
-CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT)
-LDFLAGS += -L$(XEN_LIBXENSTAT)
-LDLIBS += -lxenstat $(CURSES_LIBS) $(SOCKET_LIBS)
+CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat)
+LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS)
CFLAGS += -DHOST_$(XEN_OS)
.PHONY: all