is there a way to specify platform dependend library and include paths for third party libs ?
I do not need to cross compile, it’s more or less, if you are developing on mac, thirdparties are usually under /opt/homebrew/[lib|include]
, with linux you might be happy using the system_libs:
directive, or specifying a different path, same for the includes.
Directly in a zig project, I added the .addLibPath(<Path to additional system libs>)
to the target, and link with .linkSystemLib(<name>)
in build.zig
, just the first one is platform dependend.
any hint would be appreciated