sokol-zig icon indicating copy to clipboard operation
sokol-zig copied to clipboard

Idea: move Emscripten include path injection and depending on emscripten sdk into build.zig

Open floooh opened this issue 1 year ago • 0 comments

...we're iterating over the C library dependencies here anyway:

https://github.com/floooh/sokol-zig/blob/d9f3ef983b7021417cc91bd5788cd925ca06aa83/build.zig#L351-L367

...maybe the Emscripten include path could be injected there, as well as depending on the Emscripten SDK setup step? That way the toplevel project wouldn't need to take care of that, and it's needed for every C library anyway.

floooh avatar Jun 04 '24 07:06 floooh