[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] configure.in: make --with-xen-distdir work for 64bit xen too



Currently running autogen.sh with --with-xen-distdir=something fails to
find libxenstore if there's only a 64-bit version, and subsequently
fails to enable xen support (i.e., ends up with WITH_XEN=0).  This
one-line patch fixes that by telling it to search both lib and lib64.

I guess it would be better to search only the appropriate directory (lib
OR lib64) rather than both, but I'm not sure (being an autoconf-dummy)
how to ask about the target architecture.

Dave

 configure.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[diffs: repository libvirt]
diff --git a/configure.in b/configure.in
index 4b9669f..8e04f14 100644
--- a/configure.in
+++ b/configure.in
@@ -235,7 +235,7 @@ AC_ARG_WITH([xen-distdir], [AC_HELP_STRING([--with-xen-distdir=path],
 if test "x$with_xen_distdir" != "x"
 then
 CPPFLAGS="$CPPFLAGS -I$withval/install/usr/include"
-LDFLAGS="$LDFLAGS -L$withval/install/usr/lib"
+LDFLAGS="$LDFLAGS -L$withval/install/usr/lib -L$withval/install/usr/lib64"
 fi
 
 LIBVIRT_FEATURES=

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]