diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-17 17:17:57 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-17 17:17:57 +0100 |
commit | d61113c5c7c2bceb9bab3dc97c51aa150ee8bf2f (patch) | |
tree | 9c11179d05ff2488215b96f0af9f3d3f058b2094 /tools/vnet | |
parent | 7ffd47fbf69a7a972c1f7fd27757b86e3d710643 (diff) | |
download | xen-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/vnet')
-rw-r--r-- | tools/vnet/libxutil/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vnet/libxutil/Makefile b/tools/vnet/libxutil/Makefile index b38cf11daa..80cbe4443e 100644 --- a/tools/vnet/libxutil/Makefile +++ b/tools/vnet/libxutil/Makefile @@ -55,7 +55,7 @@ libxutil.so.$(MAJOR): libxutil.so.$(MAJOR).$(MINOR) ln -sf $^ $@ libxutil.so.$(MAJOR).$(MINOR): $(PIC_OBJS) - $(CC) $(CFLAGS) -Wl,-soname -Wl,libxutil.so.$(MAJOR) -shared -o $@ $^ + $(CC) $(CFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxutil.so.$(MAJOR) $(SHLIB_CFLAGS) -o $@ $^ libxutil.a: $(LIB_OBJS) $(AR) rc $@ $^ |