965d19386d
libglvnd needs dynamic library since the addition of the package in
commit 0378e2e5d9
:
/libglvnd_pthread.a.p/glvnd_pthread.c.o -c ../src/util/glvnd_pthread.c
../src/util/glvnd_pthread.c:33:10: fatal error: dlfcn.h: No such file or directory
33 | #include <dlfcn.h>
| ^~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/c5e92f0b355c91cdcebe0070499889473996f337
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_LIBGLVND
|
|
bool "libglvnd"
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
|
help
|
|
The GL Vendor-Neutral Dispatch library
|
|
|
|
libglvnd is a vendor-neutral dispatch layer for arbitrating
|
|
OpenGL API calls between multiple vendors. It allows multiple
|
|
drivers from different vendors to coexist on the same
|
|
filesystem, and determines which vendor to dispatch each API
|
|
call to at runtime.
|
|
|
|
Both GLX and EGL are supported, in any combination with OpenGL
|
|
and OpenGL ES.
|
|
|
|
if BR2_PACKAGE_LIBGLVND
|
|
|
|
# The following symbols should be selected by the libglvnd-aware
|
|
# GL/EGL/GLES providers.
|
|
config BR2_PACKAGE_LIBGLVND_DISPATCH_GL
|
|
bool
|
|
depends on BR2_PACKAGE_XORG7 # libx11, libXext, xorgproto
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
select BR2_PACKAGE_XLIB_XORGPROTO
|
|
select BR2_PACKAGE_HAS_LIBGL
|
|
|
|
config BR2_PACKAGE_LIBGLVND_DISPATCH_EGL
|
|
bool
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
|
|
config BR2_PACKAGE_LIBGLVND_DISPATCH_GLES
|
|
bool
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGL
|
|
default "libglvnd" if BR2_PACKAGE_LIBGLVND_DISPATCH_GL
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
default "libglvnd" if BR2_PACKAGE_LIBGLVND_DISPATCH_EGL
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
default "libglvnd" if BR2_PACKAGE_LIBGLVND_DISPATCH_GLES
|
|
|
|
endif
|
|
|
|
comment "libglvnd needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|