From: Jim Fehlig Date: Mon, 7 Jan 2013 17:15:56 +0000 (-0700) Subject: build: Add libxenctrl to LIBXL_LIBS X-Git-Tag: v1.0.2-rc1~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68e7bc4561783d742d1e266b7f1f0e3516d5117e;p=thirdparty%2Flibvirt.git 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. --- diff --git a/configure.ac b/configure.ac index ab08f17606..20108c295e 100644 --- a/configure.ac +++ b/configure.ac @@ -733,7 +733,7 @@ if test "$with_libxl" != "no" ; then LIBS="$LIBS $LIBXL_LIBS" AC_CHECK_LIB([xenlight], [libxl_ctx_alloc], [ with_libxl=yes - LIBXL_LIBS="$LIBXL_LIBS -lxenlight" + LIBXL_LIBS="$LIBXL_LIBS -lxenlight -lxenctrl" ],[ if test "$with_libxl" = "yes"; then fail=1