aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2018-03-27 12:06:56 +0500
committerRoss Burton <ross.burton@intel.com>2018-03-28 11:09:36 +0100
commitd381c3d60a027692f1db78f3563f35419bdb4987 (patch)
tree18c2379655105e8fea6c8f7d0f3b970628f32b6b
parent27da947e7fbdf9659f7e5bd1e92af92af6c03970 (diff)
downloadmatchbox-window-manager-d381c3d60a027692f1db78f3563f35419bdb4987.tar.gz
matchbox-window-manager-d381c3d60a027692f1db78f3563f35419bdb4987.tar.bz2
matchbox-window-manager-d381c3d60a027692f1db78f3563f35419bdb4987.zip
configure.ac: add lib math for composite enabled builds
The composite enabled builds require lib math to be present on the linker command line otherwise we get ld: composite-engine.o: undefined reference to symbol 'exp@@GLIBC_2.2.5' during compilation. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 95a1664..d95eb58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -248,6 +248,7 @@ dnl ------ Composite -------------------------------------------------------
if test x$enable_composite != xno; then
PKG_CHECK_MODULES(COMPO, xcomposite xfixes xdamage xrender, ,
AC_MSG_ERROR([*** Required Composite Librays not installed ***]))
+ COMPO_LIBS="$COMPO_LIBS -lm"
AC_DEFINE(USE_COMPOSITE, [1], [use bleeding enge composite code])