aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-19 14:59:39 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-19 14:59:39 +0000
commitee3575e8c8c50d1faf2f914558abd4adb30f4b03 (patch)
tree658b07099c2e8c94c5494f61b4e239a0d3ebcbd7 /m4
parenteb7abae5c533a3697c68dc6c67e38db7a8456fc7 (diff)
downloadefl-ee3575e8c8c50d1faf2f914558abd4adb30f4b03.tar.gz
efl-ee3575e8c8c50d1faf2f914558abd4adb30f4b03.tar.xz
efl-ee3575e8c8c50d1faf2f914558abd4adb30f4b03.zip
fix missing linkage with -lrt for shm_open users.
strange that nobody except hdante noticed this before, but it was missing linkage with -lrt in libemotion (due generic being static) and ecore_evas/extn. SVN revision: 83007
Diffstat (limited to 'm4')
-rw-r--r--m4/emotion_module.m412
1 files changed, 11 insertions, 1 deletions
diff --git a/m4/emotion_module.m4 b/m4/emotion_module.m4
index a7064debd..7685f992c 100644
--- a/m4/emotion_module.m4
+++ b/m4/emotion_module.m4
@@ -47,7 +47,17 @@ AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GSTREAMER],
dnl use: EMOTION_MODULE_DEP_CHECK_GENERIC(want_static)
dnl where want_engine = yes or static
-AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GENERIC], [])
+AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GENERIC],
+[dnl
+ if test "$1" = "static"; then
+ EFL_ADD_LIBS([EMOTION], [${requirements_libs_shm}])
+ else
+ EMOTION_MODULE_GENERIC_CFLAGS=""
+ EMOTION_MODULE_GENERIC_LIBS="${requirements_libs_shm}"
+ AC_SUBST([EMOTION_MODULE_GENERIC_CFLAGS])
+ AC_SUBST([EMOTION_MODULE_GENERIC_LIBS])
+ fi
+])
dnl use: EMOTION_MODULE(name, want_engine)
dnl