From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Wilson Subject: Re: [PATCH] tools: honour --libdir when it is passed to ./configure Date: Wed, 20 Jun 2012 09:41:11 -0700 Message-ID: <20120620164111.GA2640@US-SEA-R8XVZTX> References: <0a592e08ac31b3934372.1340153217@kaos-source-31003.sea31.amazon.com> <1340183435.4906.10.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1340183435.4906.10.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, Jun 20, 2012 at 02:10:35AM -0700, Ian Campbell wrote: > On Wed, 2012-06-20 at 01:46 +0100, Matt Wilson wrote: > > > > LIBLEAFDIR = lib > > LIBLEAFDIR_x86_32 = lib > > LIBLEAFDIR_x86_64 ?= lib64 > > -LIBDIR = $(PREFIX)/$(LIBLEAFDIR) > > LIBDIR_x86_32 = $(PREFIX)/$(LIBLEAFDIR_x86_32) > > LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64) > > Roger already asked if we can somehow get rid of all the LEAFDIR stuff > too. That'd be lovely. I was a little worried about the python syspath bits, but now that I've looked to see that it uses distutils that should be fine. > > diff -r 32034d1914a6 -r 0a592e08ac31 config/Tools.mk.in > > --- a/config/Tools.mk.in Thu Jun 07 19:46:57 2012 +0100 > > +++ b/config/Tools.mk.in Wed Jun 20 00:40:15 2012 +0000 > > @@ -1,5 +1,7 @@ > > # Prefix and install folder > > PREFIX := @prefix@ > > +exec_prefix := @exec_prefix@ > > Is exec_prefix related to this change? Yes, libdir defauts to ${exec_prefix}/lib, so if we don't bring exec_prefix into Tooks.mk, files will land in /lib by default instead of /usr/lib. Matt