mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
rescue: Fix link order of SSL libraries and fetch.
ld.bfd requires libraries to be linked in order. libssl requires
libcrypto. libfetch requires libssl. To fix the latter, move fetch
up above tar rather than listing the ssl libraries twice.
Reviewed by: delphij
Fixes: ea34aa4780 rescue: Add fetch(1) to the rescue tool.
Differential Revision: https://reviews.freebsd.org/D38304
This commit is contained in:
1 parent
ce20c00e85
commit
0f031350f3
1 file changed
+4
-4
@@ -212,16 +212,16 @@ CRUNCH_PROGS_usr.bin+= zstd
|
||||
CRUNCH_ALIAS_zstd= unzstd zstdcat zstdmt
|
||||
CRUNCH_LIBS+= ${LDADD_zstd}
|
||||
|
||||
CRUNCH_PROGS_usr.bin+= fetch
|
||||
CRUNCH_LIBS+= -lfetch
|
||||
|
||||
CRUNCH_PROGS_usr.bin+= tar
|
||||
CRUNCH_LIBS+= -larchive
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
CRUNCH_LIBS+= -lcrypto -lssl
|
||||
CRUNCH_LIBS+= -lssl -lcrypto
|
||||
.endif
|
||||
CRUNCH_LIBS+= -lmd
|
||||
|
||||
CRUNCH_PROGS_usr.bin+= fetch
|
||||
CRUNCH_LIBS+= -lfetch
|
||||
|
||||
.if ${MK_NETCAT} != "no"
|
||||
CRUNCH_PROGS_usr.bin+= nc
|
||||
.endif
|
||||
|
||||
Reference in new issue
Block a user