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-09-20 15:46:28 +02:00
|
|
|
================================================================================
|
2012-10-12 02:06:56 +02:00
|
|
|
---
|
|
|
|
configure.ac | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2014-01-11 14:04:44 +01:00
|
|
|
@@ -161,7 +161,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,
|
2014-02-06 00:15:44 +01:00
|
|
|
- AC_CHECK_LIB(xenctrl, xc_kexec_load, ,
|
|
|
|
+ AC_CHECK_LIB(xenctrl, xc_kexec_load,
|
2012-10-12 02:06:56 +02:00
|
|
|
+ [[LIBS="$LIBS -Wl,-Bstatic -lxenctrl -Wl,-Bdynamic"]]
|
2008-11-25 15:46:57 +01:00
|
|
|
AC_MSG_NOTICE([Xen support disabled])))
|
2014-02-06 00:15:44 +01:00
|
|
|
fi
|
|
|
|
|