2008-11-25 15:46:57 +01:00
|
|
|
From: Bernhard Walle <bwalle@suse.de>
|
|
|
|
Subject: [PATCH] Link xenctrl statically
|
|
|
|
|
|
|
|
This patch just links the xenctrl library statically. That allows
|
|
|
|
to use Xen support without a runtime dependency to the Xen package.
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Bernhard Walle <bwalle@suse.de>
|
|
|
|
|
2010-03-17 14:22:57 +01:00
|
|
|
================================================================================
|
2010-09-21 12:21:43 +02:00
|
|
|
Index: kexec-tools-2.0.2/configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- kexec-tools-2.0.2.orig/configure.ac
|
|
|
|
+++ kexec-tools-2.0.2/configure.ac
|
|
|
|
@@ -155,7 +155,8 @@ fi
|
2008-11-25 15:46:57 +01:00
|
|
|
dnl find Xen control stack libraries
|
|
|
|
if test "$with_xen" = yes ; then
|
|
|
|
AC_CHECK_HEADER(xenctrl.h,
|
|
|
|
- AC_CHECK_LIB(xenctrl, xc_version, ,
|
|
|
|
+ AC_CHECK_LIB(xenctrl, xc_version,
|
|
|
|
+ [[LIBS="$LIBS -Wl,-Bstatic -lxenctrl -Wl,-Bdynamic"]],
|
|
|
|
AC_MSG_NOTICE([Xen support disabled])))
|
|
|
|
fi
|
|
|
|
|