Blame SOURCES/0001-pkgconfig-Fix-gl.pc-when-glvnd-is-enabled.patch

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