Message ID | alpine.DEB.2.10.1704201035390.18403@sstabellini-ThinkPad-X260 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
> -----Original Message----- [snip] > > > > I think xencall should be part of the base xen_stable_libs anyway. > > Yes, you are right. However I noticed that -lxencall needs to come after > -lxendevicemodel. So, I'll have to move -lxendevicemodel before > $xen_stable_libs, see below. I'll merge this patch into "configure: > detect presence of libxendevicemodel", if that's OK. > Sure. > diff --git a/configure b/configure > index 99d6cbc..3133ef8 100755 > --- a/configure > +++ b/configure > @@ -1992,7 +1992,7 @@ if test "$xen" != "no" ; then > else > > xen_libs="-lxenstore -lxenctrl -lxenguest" > - xen_stable_libs="-lxenforeignmemory -lxengnttab -lxenevtchn" > + xen_stable_libs="-lxencall -lxenforeignmemory -lxengnttab -lxenevtchn" > > # First we test whether Xen headers and libraries are available. > # If no, we are done and there is no Xen support. > @@ -2027,9 +2027,9 @@ int main(void) { > return 0; > } > EOF > - compile_prog "" "$xen_libs $xen_stable_libs -lxendevicemodel" > + compile_prog "" "$xen_libs -lxendevicemodel $xen_stable_libs" > then > - xen_stable_libs="$xen_stable_libs -lxendevicemodel" > + xen_stable_libs="-lxendevicemodel $xen_stable_libs" > xen_ctrl_version=40900 > xen=yes > elif LGTM. Cheers, Paul
diff --git a/configure b/configure index 99d6cbc..3133ef8 100755 --- a/configure +++ b/configure @@ -1992,7 +1992,7 @@ if test "$xen" != "no" ; then else xen_libs="-lxenstore -lxenctrl -lxenguest" - xen_stable_libs="-lxenforeignmemory -lxengnttab -lxenevtchn" + xen_stable_libs="-lxencall -lxenforeignmemory -lxengnttab -lxenevtchn" # First we test whether Xen headers and libraries are available. # If no, we are done and there is no Xen support. @@ -2027,9 +2027,9 @@ int main(void) { return 0; } EOF - compile_prog "" "$xen_libs $xen_stable_libs -lxendevicemodel" + compile_prog "" "$xen_libs -lxendevicemodel $xen_stable_libs" then - xen_stable_libs="$xen_stable_libs -lxendevicemodel" + xen_stable_libs="-lxendevicemodel $xen_stable_libs" xen_ctrl_version=40900 xen=yes elif