build: Add libxenctrl to LIBXL_LIBS

Commit dfa1e1dd removed libxenctrl from LIBXL_LIBS, but the libxl
driver uses a symbol from this library.  Explicitly link with
libxenctrl instead of relying on the build system to support
implicit DSO linking.
(cherry picked from commit 68e7bc4561)
This commit is contained in:
Jim Fehlig 2013-01-07 10:15:56 -07:00 committed by Eric Blake
parent 05dd67417f
commit ab4b82c329

View File

@ -717,7 +717,7 @@ if test "$with_libxl" != "no" ; then
LIBS="$LIBS $LIBXL_LIBS" LIBS="$LIBS $LIBXL_LIBS"
AC_CHECK_LIB([xenlight], [libxl_ctx_alloc], [ AC_CHECK_LIB([xenlight], [libxl_ctx_alloc], [
with_libxl=yes with_libxl=yes
LIBXL_LIBS="$LIBXL_LIBS -lxenlight" LIBXL_LIBS="$LIBXL_LIBS -lxenlight -lxenctrl"
],[ ],[
if test "$with_libxl" = "yes"; then if test "$with_libxl" = "yes"; then
fail=1 fail=1