diff options
author | Mun Gwan-gyeong <elongbug@gmail.com> | 2014-08-15 09:17:25 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2014-08-15 09:24:20 -0400 |
commit | ac4074c4fa951240d4bfd1ee8f5ccbce913e6203 (patch) | |
tree | 6f03786187b0cbaaa3e361b5e16bb3e1ec36cd8a /m4 | |
parent | e2b543e0ab19d7abba57411ca5c75d4e53a5c3ff (diff) |
evas-wayland-egl: Fix segmentation fault on dynamic loaded gl related functions.
Summary:
@fix
Segfault in wayland_egl engine is casused by illegal library linking.
Fix this by linking to GLESv2 and EGL libraries.
Test Plan: N/A
Reviewers: devilhorns, raster, cedric, Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1332
Diffstat (limited to 'm4')
-rw-r--r-- | m4/evas_check_engine.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4 index dd7030e5cf..6c8ed81d8c 100644 --- a/m4/evas_check_engine.m4 +++ b/m4/evas_check_engine.m4 | |||
@@ -575,6 +575,7 @@ if test "x${have_dep}" = "xyes" ; then | |||
575 | PKG_CHECK_MODULES([WAYLAND_EGL], [${requirement}]) | 575 | PKG_CHECK_MODULES([WAYLAND_EGL], [${requirement}]) |
576 | evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}" | 576 | evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}" |
577 | evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS}" | 577 | evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS}" |
578 | evas_engine_gl_common_libs="$evas_engine_[]$1[]_libdirs -lGLESv2 -lm -lEGL" | ||
578 | fi | 579 | fi |
579 | fi | 580 | fi |
580 | 581 | ||