summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3adfd5)
raw | patch | inline | side by side (parent: c3adfd5)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 3 Jun 2016 20:20:43 +0000 (22:20 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 3 Jun 2016 20:20:43 +0000 (22:20 +0200) |
configure.ac | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index e3df376a89748778117fdc04ef7889d408a0a354..80a3ddfd051a7b582eb8792a4aa1a13b414fc067 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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 babe3f2c0d8623f1e2db3d8cbe30483353eb4d7d..cb0e1174949a090f12db1681288f359600c13508 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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