aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenbackendd
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenbackendd')
-rw-r--r--tools/xenbackendd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenbackendd/Makefile b/tools/xenbackendd/Makefile
index 4421f7d27e..c36a551698 100644
--- a/tools/xenbackendd/Makefile
+++ b/tools/xenbackendd/Makefile
@@ -15,7 +15,7 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenstore)
CPPFLAGS += -DXEN_SCRIPT_DIR="\"$(XEN_SCRIPT_DIR)\""
-LDFLAGS += $(LDFLAGS_libxenstore)
+LDLIBS += $(LDLIBS_libxenstore)
SBIN = xenbackendd
@@ -36,6 +36,6 @@ clean:
%: %.c Makefile
- $(CC) $(CFLAGS) $(CPPFLAGS) $< $(LDFLAGS) -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ $(LDLIBS)
-include $(DEPS)