mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/libglvnd: needs threads
Fix the following build failure raised since the addition of the package
in commit 0378e2e5d9:
In file included from ../src/util/glvnd_pthread.c:39:
../src/util/glvnd_pthread.h:33:10: fatal error: pthread.h: No such file or directory
33 | #include <pthread.h>
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/63624bafc6f7a225d4db0667df977fd6141561aa
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
657d9731cf
commit
2a7b360b5f
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBGLVND
|
|||||||
bool "libglvnd"
|
bool "libglvnd"
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
|
||||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
help
|
help
|
||||||
The GL Vendor-Neutral Dispatch library
|
The GL Vendor-Neutral Dispatch library
|
||||||
|
|
||||||
@@ -45,6 +46,6 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "libglvnd needs a toolchain w/ dynamic library"
|
comment "libglvnd needs a toolchain w/ dynamic library, threads"
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|||||||
Reference in New Issue
Block a user