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:
parent
de5ff44990
commit
2fc17bacba
2 changed files with 4 additions and 4 deletions
|
@ -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( \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue