xen-devel
[Xen-devel] Re: [PATCH 1 of 2] build: link to specific library version (
On Thu, 2011-10-06 at 12:27 +0100, Roger Pau Monne wrote:
> @@ -18,19 +33,19 @@ XEN_BLKTAP2 = $(XEN_ROOT)/tools/b
> CFLAGS_xeninclude = -I$(XEN_INCLUDE)
>
> CFLAGS_libxenctrl = -I$(XEN_LIBXC) $(CFLAGS_xeninclude)
> -LDLIBS_libxenctrl = -L$(XEN_LIBXC) -lxenctrl
> +LDLIBS_libxenctrl = $(XEN_LIBXC)/libxenctrl.so.$(XCMAJOR).$(XCMINOR)
> SHLIB_libxenctrl = -Wl,-rpath-link=$(XEN_LIBXC)
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.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0 of 2] build: fixes for yajl and force xen tools to link to current libraries., Roger Pau Monne
- [Xen-devel] [PATCH 1 of 2] build: link to specific library version (libxs, libxl, xenstore, xenstat), Roger Pau Monne
- [Xen-devel] Re: [PATCH 1 of 2] build: link to specific library version (libxs, libxl, xenstore, xenstat),
Ian Campbell <=
- [Xen-devel] Re: [PATCH 1 of 2] build: link to specific library version (libxs, libxl, xenstore, xenstat), Roger Pau Monné
- [Xen-devel] [PATCH] build: link to specific library version (libxs, libxl, xenstore, xenstat), Roger Pau Monne
- [Xen-devel] Re: [PATCH] build: link to specific library version (libxs, libxl, xenstore, xenstat), Ian Campbell
- [Xen-devel] Re: [PATCH] build: link to specific library version (libxs, libxl, xenstore, xenstat), Ian Jackson
[Xen-devel] [PATCH 2 of 2] build: append YAJL_CLFAGS and YAJL_LDFLAGS to libxl build, Roger Pau Monne
|
Previous by Date: |
[Xen-devel] [PATCH 2 of 2] build: append YAJL_CLFAGS and YAJL_LDFLAGS to libxl build, Roger Pau Monne |
Next by Date: |
Re: [Xen-devel] [PATCH 0 of 4] xenpaging fixes for xen-unstable, Tim Deegan |
Previous by Thread: |
[Xen-devel] [PATCH 1 of 2] build: link to specific library version (libxs, libxl, xenstore, xenstat), Roger Pau Monne |
Next by Thread: |
[Xen-devel] Re: [PATCH 1 of 2] build: link to specific library version (libxs, libxl, xenstore, xenstat), Roger Pau Monné |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|