Takashi Iwai
06716e3eed
Upgrade to kexec-2.0.10 OBS-URL: https://build.opensuse.org/request/show/313797 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=64
27 lines
840 B
Diff
27 lines
840 B
Diff
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>
|
|
|
|
================================================================================
|
|
---
|
|
configure.ac | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -164,7 +164,8 @@ fi
|
|
dnl find Xen control stack libraries
|
|
if test "$with_xen" = yes ; then
|
|
AC_CHECK_HEADER(xenctrl.h,
|
|
- [AC_CHECK_LIB(xenctrl, xc_kexec_load, ,
|
|
+ [AC_CHECK_LIB(xenctrl, xc_kexec_load,
|
|
+ [AC_DEFINE([HAVE_LIBXENCTRL], [1], [libxenctrl]) [LIBS="-Wl,-Bstatic -lxenctrl -Wl,-Bdynamic -lpthread -ldl $LIBS"]],
|
|
AC_MSG_NOTICE([Xen support disabled]))])
|
|
fi
|
|
|