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

index f2855c1..04bb39c 100644 (file)
@@ -4,8 +4,8 @@ PROG=           fetch
 DPADD=         ${LIBFETCH}
 LDADD=         -lfetch
 .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
-DPADD+=                ${LIBCRYPTO} ${LIBSSL}
-LDADD+=                -lcrypto -lssl
+DPADD+=                ${LIBSSL} ${LIBCRYPTO}
+LDADD+=                -lssl -lcrypto
 .endif
 
 .include <bsd.prog.mk>