Closed
Description
I am building from a musl system. When building with -Dtarget=x86_64-linux-gnu
, it works normally. When building for x86_64-linux-musl
, it's missing the <dbus/dbus-arch-deps.h>
include. I was able to trace it to the following lines in the build.zig:
if (target.result.cpu.arch == .x86_64 and target.result.abi.isGnu()) {
sdl_mod.addSystemIncludePath(deps_values.dependency.path("include/x86_64-linux-gnu"));
}
It turns out these files are identical between linux-gnu
and linux-musl
(at least on x86_64), so the check for specifically gnu makes the header go missing. Removing it from my local copy fixed my build.
Metadata
Metadata
Assignees
Labels
No labels