From ebd230eb1c459d4d2fdff5d08830e5df37c7c9f9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 8 Jan 2011 17:16:35 +0000 Subject: [PATCH] Make DESTDIR an absolute path when installing; fixes #4883 --- mk/install.mk.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/install.mk.in b/mk/install.mk.in index 3d74158..b63ffe3 100644 --- a/mk/install.mk.in +++ b/mk/install.mk.in @@ -179,3 +179,7 @@ endif # NB. we use negative tests here because for binary-distributions we cannot # test build-time variables at install-time, so they must default to on. +ifneq "$(DESTDIR)" "" +override DESTDIR := $(abspath $(DESTDIR)) +endif + -- 1.7.10.4