From 6928806cb1d894499430c469cf73e5015acffe48 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 3 Jun 2016 22:20:43 +0200 Subject: [PATCH] xencpu: add missing cppflags and ldflags --- configure.ac | 4 ++++ src/Makefile.am | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e3df376a..80a3ddfd 100644 --- a/configure.ac +++ b/configure.ac @@ -4774,6 +4774,10 @@ then CPPFLAGS="$SAVE_CPPFLAGS" LDFLAGS="$SAVE_LDFLAGS" + LIBXENCTL_CPPFLAGS="$with_libxenctl_cppflags" + LIBXENCTL_LDFLAGS="$with_libxenctl_ldflags" + AC_SUBST(LIBXENCTL_CPPFLAGS) + AC_SUBST(LIBXENCTL_LDFLAGS) fi # --with-libxmms {{{ diff --git a/src/Makefile.am b/src/Makefile.am index babe3f2c..cb0e1174 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1249,7 +1249,8 @@ endif if BUILD_PLUGIN_XENCPU pkglib_LTLIBRARIES += xencpu.la xencpu_la_SOURCES = xencpu.c -xencpu_la_LDFLAGS = $(PLUGIN_LDFLAGS) +xencpu_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBXENCTL_CPPFLAGS) +xencpu_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(LIBXENCTL_LDFLAGS) xencpu_la_LIBADD = -lxenctrl endif -- 2.30.2