From: Ian Jackson Subject: Re: [PATCH] tools/ocaml: Fix library generation [and 1 more messages] Date: Tue, 9 Apr 2013 16:10:52 +0100 Message-ID: <20836.12156.195760.793255@mariner.uk.xensource.com> References: <1365441966-31732-1-git-send-email-vb@luminar.eu.org> <5162FEE7.60303@citrix.com> <20836.9709.511956.643278@mariner.uk.xensource.com> <51642AC3.1020808@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51642AC3.1020808@citrix.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: Andrew Cooper Cc: AL13N , Roger Pau Monne , "xen-devel@lists.xen.org" , "Vincent Bernardoff (Intern)" , Vincent Bernardoff List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("Re: [Xen-devel] [PATCH] tools/ocaml: Fix library generat> As far as I am concerned, having had to explicitly fix this up in > XenServer, commit b7ee8d2f432f726a1154d172016d3f2b22757fe3 should be > reverted, unless I am really misunderstanding the point of the patch. Going back to when this was done, http://lists.xen.org/archives/html/xen-devel/2011-10/msg00322.html says Minor build process fixes, to allow the use of LDFALGS and CFLAGS with folders that contain older versions of xen libraries and added a specific env variable to point to yajl header and library files. So AIUI the problem is that you have an LDFLAGS which mentions -L where contains other versions of the Xen libraries, you end up linking against them. Ian.