From b4baeeaa3e5a14cc420d7f2fa33aa4a0899e58b9 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Sat, 5 Jul 2014 11:46:54 +0200 Subject: [PATCH] tools-console-prefix.diff Patch-Name: tools-console-prefix.diff Gbp-Pq: Name tools-console-prefix.diff --- tools/console/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/console/Makefile b/tools/console/Makefile index c8b030038b..df0a643620 100644 --- a/tools/console/Makefile +++ b/tools/console/Makefile @@ -8,6 +8,7 @@ CFLAGS += $(CFLAGS_libxenstore) LDLIBS += $(LDLIBS_libxenctrl) LDLIBS += $(LDLIBS_libxenstore) LDLIBS += $(SOCKET_LIBS) +LDFLAGS += $(call LDFLAGS_RPATH,../lib) LDLIBS_xenconsoled += $(UTIL_LIBS) LDLIBS_xenconsoled += -lrt @@ -44,9 +45,7 @@ $(eval $(genpath-target)) .PHONY: install install: $(BIN) - $(INSTALL_DIR) $(DESTDIR)/$(sbindir) - $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(sbindir) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PROG) xenconsole $(DESTDIR)$(LIBEXEC_BIN) + $(INSTALL_PROG) xenconsole xenconsoled $(DESTDIR)$(LIBEXEC_BIN) -include $(DEPS) -- 2.30.2