Skip to content

Commit d7742c9

Browse files
committed
compat.glfw: declare abi:glibc capability (linux)
Lets mcpp enforce that GLFW consumers use a glibc toolchain (it links the glibc X11/GL world); musl-static now fails fast with an actionable ABI error instead of a cryptic arc4random_buf failure.
1 parent 94543a4 commit d7742c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/c/compat.glfw.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ package = {
5656
cflags = { "-D_DEFAULT_SOURCE", "-D_GLFW_X11" },
5757
runtime = {
5858
dlopen_libs = { "libGLX.so.0", "libGL.so.1", "libGL.so" },
59-
capabilities = { "x11.display", "opengl.glx.driver" },
59+
capabilities = { "x11.display", "opengl.glx.driver", "abi:glibc" },
6060
},
6161
sources = {
6262
"src/x11_init.c",

0 commit comments

Comments
 (0)