78654a
From 7c137cfbffb4962b4e080052ef05cfb2266e758a Mon Sep 17 00:00:00 2001
78654a
From: Adam Jackson <ajax@redhat.com>
78654a
Date: Tue, 29 May 2018 09:47:35 -0400
78654a
Subject: [PATCH] pkgconfig: Fix gl.pc when glvnd is enabled
78654a
78654a
GL_LIB expands to GLX_mesa, but applications should not link against
78654a
that. -lGL is never wrong, just hardcode it.
78654a
78654a
Signed-off-by: Adam Jackson <ajax@redhat.com>
78654a
---
78654a
 src/mesa/gl.pc.in | 2 +-
78654a
 1 file changed, 1 insertion(+), 1 deletion(-)
78654a
78654a
diff --git a/src/mesa/gl.pc.in b/src/mesa/gl.pc.in
78654a
index 181724b97b..8c7b7da8d7 100644
78654a
--- a/src/mesa/gl.pc.in
78654a
+++ b/src/mesa/gl.pc.in
78654a
@@ -7,7 +7,7 @@ Name: gl
78654a
 Description: Mesa OpenGL library
78654a
 Requires.private: @GL_PC_REQ_PRIV@
78654a
 Version: @PACKAGE_VERSION@
78654a
-Libs: -L${libdir} -l@GL_LIB@
78654a
+Libs: -L${libdir} -lGL
78654a
 Libs.private: @GL_PC_LIB_PRIV@
78654a
 Cflags: -I${includedir} @GL_PC_CFLAGS@
78654a
 glx_tls: @GLX_TLS@
78654a
-- 
78654a
2.17.0
78654a