aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console/Makefile
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/console/Makefile
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/console/Makefile')
-rw-r--r--tools/console/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/console/Makefile b/tools/console/Makefile
index 2d4486c87f..55e08e8f2d 100644
--- a/tools/console/Makefile
+++ b/tools/console/Makefile
@@ -22,11 +22,11 @@ clean:
xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
$(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
- -lxenctrl -lxenstore
+ $(SOCKET_LIBS) -lxenctrl -lxenstore
xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
$(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
- -lxenctrl -lxenstore
+ $(SOCKET_LIBS) -lxenctrl -lxenstore
.PHONY: install
install: $(BIN)