[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1 of 1 v2] tools: honour --libdir when it is passed to ./configure
On Thu, 2012-06-21 at 09:53 +0100, Olaf Hering wrote: > On Thu, Jun 21, Ian Campbell wrote: > > > On Wed, 2012-06-20 at 23:51 +0100, Matt Wilson wrote: > > > Currently shared libraries are automatically installed into /usr/lib > > > or /usr/lib64, depending on the supplied --prefix value and > > > $(XEN_TARGET_ARCH). Some systems, like recent Debian and Ubuntu releases, > > > do not use /usr/lib64, but instead /usr/lib/x86_64-linux-gnu. > > > > > > With this change, packagers can supply the desired location for shared > > > libraries on the ./configure command line. Packagers need to note that > > > the default behaviour on 64-bit Linux systems will be to install shared > > > libraries in /usr/lib, not /usr/lib64, unless a --libdir value is provided > > > to ./configure. > > Perhaps that should be stated in the README, which states to call just > configure without options. I'd have assumed that it was well understood what options one could/should pass to configure? Anybody who's ever built anything on a system which uses lib64 must know it, right? Anyway, README already says: If you want, you can run ./configure --help to see the list of options available options when building and installing Xen. > > > > SHAREDIR ?= $(PREFIX)/share > > > DOCDIR ?= $(SHAREDIR)/doc/xen > > > @@ -67,7 +68,7 @@ endef > > > > > > ifneq ($(EXTRA_PREFIX),) > > > EXTRA_INCLUDES += $(EXTRA_PREFIX)/include > > > -EXTRA_LIB += $(EXTRA_PREFIX)/$(LIBLEAFDIR) > > > +EXTRA_LIB += $(EXTRA_PREFIX)/$(shell basename $(LIBDIR)) > > > > since we are sort of reverting 16950:0faf620bc749 here this could in > > theory $(EXTRA_PREFIX)/$(LIBDIR)? That doesn't remove the need to > > include Tools.mk though. :-/ > > > > Does anyone know if this EXTRA_PREFIX stuff is intended to be used for > > hypervisor and other non-tools builds? If not then we could consider > > pushing it down a level. > > > > In the tools case I think we already have a way to inject arbitrary -L > > and -I options -- so maybe this can just go away? > > I'm not sure what the purpose of EXTRA_INCLUDES and EXTRA_LIB is, now > that EXTRA_CFLAGS can be specified, since changeset 25464:75a2bb5db228. > > Perhaps its use case should also be added to the README? It sounds to me like it could be deleted instead. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |