1 From dfeb6ed02a23517e1062e52acd3cd322e1a16ffc Mon Sep 17 00:00:00 2001
2 From: Kevin Bowling <kevin.bowling@kev009.com>
3 Date: Wed, 7 Jul 2021 22:16:12 -0700
4 Subject: [PATCH 1/3] pkgconfig: Depend on opengl when built with libglvnd
6 Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/configure.ac b/configure.ac
12 index 14150f0..ef4d473 100644
15 @@ -73,7 +73,7 @@ AC_ARG_ENABLE(osmesa,
16 dnl Get the pkg-config definitions for libglvnd/OSMesa/libGL. We include a
17 dnl fallback path for implementations that don't provide a .pc file
18 AS_IF([test "x$LIBGLVND" = "xyes"], [
19 - GLU_REQUIRES="libglvnd"
20 + GLU_REQUIRES="opengl"
21 PKG_CHECK_MODULES(LIBGLVND, [opengl], [], [
22 AC_CHECK_HEADER([GL/gl.h],