If we need to link libssl.so.1.1 instead of libssl.so, we can use -l:libssl.so.1.1
gcc argument instead of -lssl
.
This way we don't have to carry around symlinks alongside actual libraries (which makes it possible to store project directory on a FAT32 system for example).