xen-devel
Re: [Xen-devel] [PATCH 2 of 2] build: append YAJL_CLFAGS and YAJL_LDFLAG
Roger Pau Monné writes ("Re: [Xen-devel] [PATCH 2 of 2] build: append
YAJL_CLFAGS and YAJL_LDFLAGS to libxl build"):
> 2011/10/6 Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>:
> > I think this should be done by setting EXTRA_INCLUDES and EXTRA_LIB in
> > Config.mk or .config, and shouldn't need an extra pair of variables.
>
> The problem is that EXTRA_INCLUDES and EXTRA_LIB is added to the whole
> compilation process, and if I have old xen header files in this
> folders together with the yajl headers for example, they get included
> instead of the new ones, and the build fails.
Ah. I don't think the approach of only using these flags when
compiling libxl is a good one, then, as it would build libxl against
these putative old Xen headers.
I think the problem then is that the ordering of the various -I and -L
options is wrong. The EXTRA_* should come near the end, after all of
the -I and -L specified by the build system to refer to other parts of
the Xen tree.
Would you like to look into how to make that work :-) ?
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
|
|
|