From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Xen-changelog] Break the building/save/restore code out into a separate library libxenguest. Date: Wed, 24 Aug 2005 21:11:47 -0500 Message-ID: <430D28E3.6090306@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Christian Limpach List-Id: xen-devel@lists.xenproject.org Xen patchbot -unstable wrote: >+LDFLAGS += -L. > > I considered linking libxenbuild against libxenctrl this way however I've found that even if you have -L., often you'll get linked to a library in /usr/lib instead. If you're running in the build tree, this can result in very unpredictable results. Is there a better way to do this? It seems better to force an app to include both libraries. I can submit a xen-config script that takes a --libs option to simplify this. > > Regards, Anthony Liguori