From 6414f0b970d4f3fc99ebf0e9b3b33b44d4b03711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 12 Jun 2002 12:46:50 +0000 Subject: [PATCH] Reorder LDADD to fix static linking. --- usr.bin/fetch/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile index 1c372b403d23..3a9ce57c78a4 100644 --- a/usr.bin/fetch/Makefile +++ b/usr.bin/fetch/Makefile @@ -5,8 +5,8 @@ PROG= fetch DPADD= ${LIBFETCH} LDADD= -lfetch .if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) -DPADD+= ${LIBCRYPTO} ${LIBSSL} -LDADD+= -lcrypto -lssl +DPADD+= ${LIBSSL} ${LIBCRYPTO} +LDADD+= -lssl -lcrypto .endif .include