odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
7.03k stars 625 forks source link

[FreeBSD] add /usr/local/lib to default linker flags #4443

Open ngortheone opened 3 weeks ago

ngortheone commented 3 weeks ago

When building on FreeBSD I often need to specify

-extra-linker-flags:"-L/usr/local/lib"

for build to succeed. FreeBSD has a split between main system and ports and all 3rd party software (like glfw) goes into /usr/local

Please add this to linker's default search path on FreeBSD

ngortheone commented 3 weeks ago

And perhaps the same can be said for header include paths - /usr/local/include