aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpmd
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenpmd')
-rw-r--r--tools/xenpmd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenpmd/Makefile b/tools/xenpmd/Makefile
index 10cb2fb211..101757d661 100644
--- a/tools/xenpmd/Makefile
+++ b/tools/xenpmd/Makefile
@@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += $(CFLAGS_libxenstore)
-LDFLAGS += $(LDFLAGS_libxenstore)
+LDLIBS += $(LDLIBS_libxenstore)
BIN = xenpmd
@@ -20,6 +20,6 @@ clean:
$(RM) -f $(BIN) $(DEPS)
%: %.c Makefile
- $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
+ $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LDLIBS)
-include $(DEPS)