LWJGL/lwjgl3

Musl libc support

Timarrr opened this issue · 2 comments

Description

LWJGL is linked against the glibc as of now, which causes musl users to be unable to work with the library without significant restrictions. Thus, I'm asking to add Musl support to this wonderful piece of software!

Just ran into this issue when messing around with modding Minecraft using the Fabric API and I agree with the original poster that compiling against musl would be very nice. Seeing as it is mostly a Java application and glibc is only gated against twice in the source code it does not seem at a glance to be too hard to get it compiling on musl. I will do a quick check to see how feasible it is.

There are a few patches here that allow compiling against musl to some extend: https://gitlab.alpinelinux.org/alpine/aports/-/commit/5eb9fb757ecbba2666a8e8ed6f921bbae66b0446

They were never finished though. It would be really nice if that was fixed.

(Also duplicate of #833)