Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
473 stars 101 forks source link

how do I include other libs (web build) #60

Closed dynnamitt closed 8 months ago

dynnamitt commented 8 months ago

As a zig beginner I find it unclear how I can link more libs into the web build part. (metal/os build did work fine) Could comments or doc show a sample on this. (zflecs in my case) I used the project_setup.sh as explained.

Not-Nik commented 8 months ago

Did you try just linking normally to exe_lib?

dynnamitt commented 8 months ago

What is normal?

dynnamitt commented 8 months ago

https://github.com/dynnamitt/uber-grafen/blob/main/build.zig

I could not figure out how to use exe_lib here no

Not-Nik commented 8 months ago

What is normal?

Normal would be exe_lib.linkLibrary

As this is not directly related to raylib-zig I'm closing this issue