Remove gratuitous -ldl from static OpenSSL link command
Remove gratuitous -ldl from static OpenSSL link command

NetBSD doesn't like it.

Also remove the -lz and add an explicit -lz to LDFLAGS. We use that
directly, so we shouldn't be relying on getting it pulled in indirectly.

Signed-off-by: David Woodhouse <b460d66aaf00c296a3db1c1d9eeafc081d5f7d70@intel.com>

mdutton3/OpenConnect,mtmiller/openconnect,atyndall/openconnect,neshema/openconnect,nmav/openconnect-mine,sihde/openconnect,atyndall/openconnect,mveplus/openconnect-client,don-johnny/openconnect,atyndall/openconnect,lins05/openconnect,lins05/openconnect,cernekee/openconnect,brandt/openconnect,mdutton3/OpenConnect,liiir1985/openconnect,ldx/android_external_openconnect,liiir1985/openconnect,mdutton3/OpenConnect,mveplus/openconnect-client,brandt/openconnect,don-johnny/openconnect,pbrook/openconnect,mveplus/openconnect-client,brandt/openconnect,matlockx/openconnect,chadcatlett/openconnect,matlockx/openconnect,sihde/openconnect,brandt/openconnect,chadcatlett/openconnect,nmav/openconnect-mine,lins05/openconnect,nmav/openconnect-mine,neshema/openconnect,chadcatlett/openconnect,certik/openconnect,don-johnny/openconnect,matlockx/openconnect,mtmiller/openconnect,lins05/openconnect,pbrook/openconnect,certik/openconnect,neshema/openconnect,atyndall/openconnect,chadcatlett/openconnect,sihde/openconnect,cernekee/openconnect,liiir1985/openconnect,cernekee/openconnect,certik/openconnect,don-johnny/openconnect,liiir1985/openconnect,neshema/openconnect,cernekee/openconnect,ldx/android_external_openconnect,mtmiller/openconnect,matlockx/openconnect,mtmiller/openconnect,mveplus/openconnect-client,nmav/openconnect-mine