Skip to contentSkip to conversation

package/libglvnd: needs dynamic library

PATCH New Fabrice Fontaine 1 participant 1 message Jan 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libglvnd: needs dynamic library

libglvnd needs dynamic library since the addition of the package in commit 0378e2e5d9ce9d5676975dfbff501360094fdc1a:

/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

---
 package/libglvnd/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/libglvnd/Config.in +4 -0
index acf6247e94..2d99be8632 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBGLVND
 	bool "libglvnd"
+	depends on !BR2_STATIC_LIBS # dlfcn.h
 	help
 	  The GL Vendor-Neutral Dispatch library
 
@@ -42,3 +43,6 @@ 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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot