summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-27 18:30:41 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-27 18:30:41 +0000
commit253e30329f1d22c859e07150533702c2d3f986d5 (patch)
tree6ccf4409e84b245c2bf910c25cb8e73f82134e54
parent3e5a3cbe215151278afbe1326aebedab170d779d (diff)
downloadgenivi-demo-platform-hmi-baserock/genivi/gdp-0.1.tar.gz
Fix build for old versions of wayland-ivi-extensionbaserock/pedroalvarez/genivi/gdp-0.1baserock/genivi/gdp-0.1
Build fails because ilm_client and ilm_control have a mutual dependency. This change makes the build of one link against the other when testing the latter. This problem is caused by the version of wayland-ivi-extension we are using, and we can't use a newer version now for dependency reasons. (specifically, there was an interface change without backwards compatibility, which breaks the GDP HMI)
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f0c7ba2..4ff1462 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,10 +61,10 @@ PKG_CHECK_MODULES([CLIENT], [
AC_CHECK_HEADERS([ilm/ilm_types.h])
AC_CHECK_LIB(ilmClient, ilm_UpdateInputEventAcceptanceOn,
[ILM_LIBS="-lilmCommon -lilmClient"],
- [AC_MSG_ERROR([Can't find correct ilmClient library.])])
+ [AC_MSG_ERROR([Can't find correct ilmClient library.])], -lilmControl)
AC_CHECK_LIB(ilmControl, ilm_SetKeyboardFocusOn,
[ILM_LIBS="$ILM_LIBS -lilmControl"],
- [AC_MSG_ERROR([Can't find correct ilmControl library.])])
+ [AC_MSG_ERROR([Can't find correct ilmControl library.])], -lilmClient)
AC_SUBST(ILM_LIBS)
WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`