mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Link libarchive against -lmd and -lcrypto.
Thanks to Ed Schouten for the clue.
This commit is contained in:
parent
a235aceb1a
commit
65b45c166f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193083
@ -3,7 +3,7 @@
|
||||
|
||||
LIB= archive
|
||||
DPADD= ${LIBBZ2} ${LIBZ}
|
||||
LDADD= -lbz2 -lz
|
||||
LDADD= -lbz2 -lz -lmd
|
||||
|
||||
# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
|
||||
# It has no real relation to the libarchive version number.
|
||||
@ -17,6 +17,7 @@ CFLAGS+= -I${.OBJDIR}
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
CFLAGS+= -DWITH_OPENSSL
|
||||
LDFLAGS+= -lcrypto
|
||||
.endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user