-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I'm trying to build a fully static Linux binary with zglfw as a dependency by running zig build -Dtarget=x86_64-linux-musl. The build completes and creates a binary, though I get this in the console:
error: warning(link): unexpected LLD stderr:
ld.lld: warning: /home/<user>/src/gb-emu-zig/.zig-cache/o/460615bf64bea4452ce77ce4a34b293d/libglfw.a: archive member '/home/<user>/.cache/zig/p/system_sdk-0.3.0-dev-alwUNnYaaAJAtIdE2fg4NQfDqEKs7QCXy_qYukAOBfmF/linux/lib/x86_64-linux-gnu/libX11.so' is neither ET_REL nor LLVM bitcode
But when running the binary, zglfw throws a error: PlatformError. I've tried individually disabling X11 and Wayland support in zglfw and running under both X11 and Wayland, and I get the same error.
Metadata
Metadata
Assignees
Labels
No labels