How to get the header files from a C library packaged with build.zig module?

Ok I have found the solution, I forgot to also do

b.installArtifact(raylib_artifact);

and for my own library header it was simply

lib.installHeadersDirectory(b.path("src"), "", .{});

So anyway problem solved :slight_smile:

1 Like