gb.gtk3.opengl: in some circumstances, opengl component needs linking with gl libraries

[GB.GTK3.OPENGL]
* BUG: Add linking against openGL libraries.
This commit is contained in:
Laurent Carlier 2022-03-13 13:57:14 +01:00
parent de5ff44990
commit 2fc17bacba
No known key found for this signature in database
GPG key ID: 06096A6AD1CEDDAC
2 changed files with 4 additions and 4 deletions

View file

@ -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( \

View file

@ -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 \