]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: Add libxenctrl to LIBXL_LIBS
authorJim Fehlig <jfehlig@suse.com>
Mon, 7 Jan 2013 17:15:56 +0000 (10:15 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 7 Jan 2013 18:23:26 +0000 (11:23 -0700)
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 68e7bc4561783d742d1e266b7f1f0e3516d5117e)

configure.ac

index c3fa6edcdcde6ce8c28a0d729283e642ea6d4fc3..66b384b1f1436f1c314e68b483c474694e06f50a 100644 (file)
@@ -717,7 +717,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