move -lsocket and -lnsl checks before -lcrypto checks.
move -lsocket and -lnsl checks before -lcrypto checks.


gegenschall/ldns,NLnetLabs/ldns,threatstack/libldns,benlaurie/ldns,threatstack/libldns,benlaurie/ldns,threatstack/libldns,gegenschall/ldns,gegenschall/ldns,gegenschall/ldns,threatstack/libldns,NLnetLabs/ldns,benlaurie/ldns,NLnetLabs/ldns,threatstack/libldns,benlaurie/ldns,NLnetLabs/ldns