aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/Makefile
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-03-17 19:15:42 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-03-17 19:15:42 +0000
commit0394b57cda6f09f2d45feaf5a4f9dc62d6798c23 (patch)
treee15ead99f6e888cc87aa0555a1e18a240f36f270 /tools/libxc/Makefile
parent10128bdb23b42d84545c29c5e6864463183fd9b4 (diff)
downloadxen-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/libxc/Makefile')
-rw-r--r--tools/libxc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index 9942c3ab11..e75500145d 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -159,7 +159,7 @@ libxenctrl.so.$(MAJOR): libxenctrl.so.$(MAJOR).$(MINOR)
ln -sf $< $@
libxenctrl.so.$(MAJOR).$(MINOR): $(CTRL_PIC_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenctrl.so.$(MAJOR) $(DLOPEN_LIBS) $(SHLIB_LDFLAGS) -o $@ $^ $(PTHREAD_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,$(SONAME_LDFLAG) -Wl,libxenctrl.so.$(MAJOR) $(SHLIB_LDFLAGS) -o $@ $^ $(DLOPEN_LIBS) $(PTHREAD_LIBS)
# libxenguest