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/blktap/lib | |
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/blktap/lib')
-rw-r--r-- | tools/blktap/lib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/blktap/lib/Makefile b/tools/blktap/lib/Makefile index cde602bd0b..5596410f96 100644 --- a/tools/blktap/lib/Makefile +++ b/tools/blktap/lib/Makefile @@ -52,8 +52,8 @@ clean: rm -rf *.a *.so* *.o *.rpm $(LIB) *~ $(DEPS) xen TAGS libblktap.a: $(OBJS) - $(CC) $(CFLAGS) -Wl,-soname -Wl,$(SONAME) -shared \ - -L$(XEN_XENSTORE) -l xenstore \ + $(CC) $(CFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,$(SONAME) $(SHLIB_CFLAGS) \ + -L$(XEN_XENSTORE) -l xenstore \ -o libblktap.so.$(MAJOR).$(MINOR) $^ $(LIBS) ln -sf libblktap.so.$(MAJOR).$(MINOR) libblktap.so.$(MAJOR) ln -sf libblktap.so.$(MAJOR) libblktap.so |