gl: append EGL_LIB to GL_LIB
authorJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 28 Apr 2014 14:47:27 +0000 (15:47 +0100)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Mon, 28 Apr 2014 14:59:06 +0000 (15:59 +0100)
configure.ac

index 336a83e..14ee7e8 100644 (file)
@@ -845,7 +845,7 @@ case $host in
     else
       if test "x$NEED_EGL" != "xno"; then
         if test "x$HAVE_WINDOW_WAYLAND" = "xyes" -o "x$HAVE_WINDOW_X11" = "xyes" -o "x$HAVE_WINDOW_DISPMANX" = "xyes"; then
-          GL_LIBS="$GL_LIBS -lEGL"
+          GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS"
           USE_EGL=yes
         fi
       fi