diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-17 19:15:42 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-03-17 19:15:42 +0000 |
commit | 0394b57cda6f09f2d45feaf5a4f9dc62d6798c23 (patch) | |
tree | e15ead99f6e888cc87aa0555a1e18a240f36f270 /tools/blktap2 | |
parent | 10128bdb23b42d84545c29c5e6864463183fd9b4 (diff) | |
download | xen-0394b57cda6f09f2d45feaf5a4f9dc62d6798c23.tar.gz xen-0394b57cda6f09f2d45feaf5a4f9dc62d6798c23.tar.bz2 xen-0394b57cda6f09f2d45feaf5a4f9dc62d6798c23.zip |
tools: support building with --as-needed
Tested by forcing --as-needed via tools/Rules.mk but this is included
since the intention is simply to support diustros which default to
--as-needed, not to enable it everywhere.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/blktap2')
-rw-r--r-- | tools/blktap2/vhd/lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/blktap2/vhd/lib/Makefile b/tools/blktap2/vhd/lib/Makefile index 5854900794..fdfaeedbb4 100644 --- a/tools/blktap2/vhd/lib/Makefile +++ b/tools/blktap2/vhd/lib/Makefile @@ -57,7 +57,7 @@ build: $(LIBVHD-BUILD) libvhd.a: $(LIB-OBJS) $(CC) $(CFLAGS) -Wl,$(SONAME_LDFLAG),$(LIBVHD-SONAME) $(SHLIB_LDFLAGS) \ - $(LDFLAGS) -o libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) $(LIBS) $^ + $(LDFLAGS) -o libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) $^ $(LIBS) ln -sf libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) libvhd.so.$(LIBVHD-MAJOR) ln -sf libvhd.so.$(LIBVHD-MAJOR) libvhd.so $(AR) rc $@ $^ |