From 7513aca39459ece0b500d2d80b8632d240a1ce09 Mon Sep 17 00:00:00 2001 From: Neil Roberts <neil@linux.intel.com> Date: Thu, 15 Mar 2012 16:15:49 +0000 Subject: [PATCH] Don't directly link to libGL from the EGL/KMS platform The KMS platform accesses all of it's GL symbols via the indirection through the Cogl context so there is no need to link against it directly. This helps when trying to use Cogl with GLES where pulling in Xlib via libGL is potentially a problem. Reviewed-by: Robert Bragg <robert@linux.intel.com> --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6cc7b66dd..705d67703 100644 --- a/configure.ac +++ b/configure.ac @@ -781,7 +781,6 @@ AS_IF([test "x$enable_kms_egl_platform" == "xyes"], [ COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gbm" COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm" - COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gl" ], [AC_MSG_ERROR([Unable to locate required kms libraries])])