diff --git a/configure.ac b/configure.ac index ff499831ad..8b11a99b2e 100644 --- a/configure.ac +++ b/configure.ac @@ -2640,9 +2640,9 @@ fi # OpenGL common evas_engine_gl_common_cflags="" if test "x${have_egl}" = "xyes"; then - evas_engine_gl_common_libs="-lEGL" + evas_engine_gl_common_libs="-lEGL -lGLESv2 -lm" else - evas_engine_gl_common_libs="-lGL" + evas_engine_gl_common_libs="-lGL -lm" fi # The lines below fix compiling/linking of gl_generic on OSX