From 2fc17bacba2582c575c86f4a40e68b6bc7a1ecfb Mon Sep 17 00:00:00 2001 From: Laurent Carlier Date: Sun, 13 Mar 2022 13:57:14 +0100 Subject: [PATCH] gb.gtk3.opengl: in some circumstances, opengl component needs linking with gl libraries [GB.GTK3.OPENGL] * BUG: Add linking against openGL libraries. --- gb.gtk3/configure.ac | 2 +- gb.gtk3/src/opengl/Makefile.am | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gb.gtk3/configure.ac b/gb.gtk3/configure.ac index cfea181c5..221fc2641 100644 --- a/gb.gtk3/configure.ac +++ b/gb.gtk3/configure.ac @@ -36,7 +36,7 @@ GB_COMPONENT_PKG_CONFIG_AGAIN( GB_COMPONENT_PKG_CONFIG( gtk3opengl, GTK3OPENGL, gb.gtk3.opengl, [opengl], - 'gtk+-3.0 >= 3.16' + 'gtk+-3.0 >= 3.16' gl ) AC_OUTPUT( \ diff --git a/gb.gtk3/src/opengl/Makefile.am b/gb.gtk3/src/opengl/Makefile.am index bccf8ceea..e7f5744d4 100644 --- a/gb.gtk3/src/opengl/Makefile.am +++ b/gb.gtk3/src/opengl/Makefile.am @@ -3,9 +3,9 @@ include $(top_srcdir)/component.am gblib_LTLIBRARIES = gb.gtk3.opengl.la -gb_gtk3_opengl_la_LIBADD = @GTK3_LIB@ -gb_gtk3_opengl_la_LDFLAGS = -module @LD_FLAGS@ @GTK3_LDFLAGS@ -gb_gtk3_opengl_la_CPPFLAGS = @GTK3_INC@ +gb_gtk3_opengl_la_LIBADD = @GTK3OPENGL_LIB@ +gb_gtk3_opengl_la_LDFLAGS = -module @LD_FLAGS@ @GTK3OPENGL_LDFLAGS@ +gb_gtk3_opengl_la_CPPFLAGS = @GTK3OPENGL_INC@ gb_gtk3_opengl_la_SOURCES = \ main.h main.c \