I have a project which makes use of a 3rd party library. I installed it into the system folder (/usr/include) and everything works if I add -lsodium to the command line.