|
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBGLVND
|
|
|
bool "libglvnd"
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
|
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
help
|
|
|
The GL Vendor-Neutral Dispatch library
|
|
|
|
|
@@ -45,6 +46,6 @@ config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
|
|
|
|
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_STATIC_LIBS
|
|
|
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|