First of all the ssl files need to be on disk in the expected place. In the build process for lynx, there's a configure step. That's the first building step. one of the command line options for ./configure needs to be --with-ssl. You may need or want to use more options than that too. ./configure --help should provide an available list.