Mesa/n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch

26 lines
746 B
Diff

From 1902aaa97ec2d7919cc48dcde2b6ca165ca00a2f Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Tue, 8 Aug 2017 16:07:46 +0200
Subject: [PATCH glx/glxglvnd] glesv2.pc: Add "-lGL" for libglvnd builds
(boo#1052776)
---
src/mapi/es2api/glesv2.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/es2api/glesv2.pc.in b/src/mapi/es2api/glesv2.pc.in
index e5bf12f878..8b5fb84fd8 100644
--- a/src/mapi/es2api/glesv2.pc.in
+++ b/src/mapi/es2api/glesv2.pc.in
@@ -7,6 +7,6 @@ Name: glesv2
Description: Mesa OpenGL ES 2.0 library
Requires.private:
Version: @VERSION@
-Libs: -L${libdir} -lGLESv2
+Libs: -L${libdir} -lGLESv2 -lGL
Libs.private: @GLESv2_PC_LIB_PRIV@
Cflags: -I${includedir}
--
2.13.1