WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH 1 of 2] build: link to specific library version (

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 1 of 2] build: link to specific library version (libxs, libxl, xenstore, xenstat)
From: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Date: Thu, 6 Oct 2011 14:03:45 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 06 Oct 2011 05:05:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=yeEu5kJyJuJVDslAXUPHNCJ12s/VJbGrflun6Iy+jGU=; b=RPoszDF6Um53uqDCtbMIMfT2KSL3FcKJtkW1YuM+LJj+YkfB5a6qUkORnuwAdGEsTS OSgoDnwuwl/kC9s2AzlBlAawHhsbv5aED605SdBwayJS5Eo/+caQUxiGCv3C5zHJ9m7m LpSepo9RAyUsjEela628XNsBETU1Ohitd6+yc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1317901600.21903.230.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1317900424@loki> <fb73bd21cdf7aed429f7.1317900425@loki> <1317901600.21903.230.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> I think this is the correct approach but you don't need
> the .$(MAJOR).$(MINOR) suffix here since the .so at the specific path
> will always be a symlink to the right thing (same for all the others).
>
> Doing it that way will remove the need to move all the major/minor
> definitions around and make this patch tiny.

I've added the version numbers to make sure that we are linking
against the current library versions, so when there's an API change
the version numbers are bumped and the linking is made against the new
libraries for sure, but you are right, and when the version number is
bumped the library is rebuild automatically, so there's no need for
all this fuss. I will send a new patch without the MAJOR.MINOR stuff.

Regards, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel