drill(1): Fix library order (helps static building).
authorSascha Wildner <saw@online.de>
Fri, 13 Jun 2014 09:37:08 +0000 (11:37 +0200)
committerSascha Wildner <saw@online.de>
Fri, 13 Jun 2014 09:37:08 +0000 (11:37 +0200)
usr.bin/drill/Makefile

index e62b0e1..9fdf09f 100644 (file)
@@ -7,8 +7,8 @@ WARNS?= 2
 
 .PATH: ${.CURDIR}/../../contrib/ldns/drill
 
-LDADD+=        -lcrypto -lldns
-DPADD+=        ${LIBCRYPTO} ${LIBLDNS}
+LDADD+=        -lldns -lcrypto
+DPADD+=        ${LIBLDNS} ${LIBCRYPTO}
 CFLAGS+=-I${.CURDIR} -I${LDNS} -I${LDNS}/drill -I${LDNSBASE}
 
 .include <bsd.prog.mk>