mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Don't pull in libRSAglue for the rsaref case. Since this is linked
dynamically by default, we use the dlopen() calls to load librsaref.so on US code trees.
This commit is contained in:
parent
07a0979e84
commit
8df7a1fa29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57475
@ -18,7 +18,7 @@ LOCALBASE?= /usr/local
|
||||
CFLAGS+= -DNO_RSA -DNO_SSL2
|
||||
.else
|
||||
CFLAGS+= -DRSAref
|
||||
LDADD+= -lRSAglue ${LOCALBASE}/lib/librsaref.a
|
||||
LDADD+= ${LOCALBASE}/lib/librsaref.a
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
@ -16,7 +16,3 @@ SRCS= scp.c
|
||||
|
||||
LDADD+= -lcrypto -lutil -lz -L${.OBJDIR}/../../lib/libssh -lssh
|
||||
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
|
||||
.if defined(RSAREF) && ${RSAREF} == YES
|
||||
LDADD+= -lRSAglue
|
||||
DPADD+= ${LIBRSAGLUE}
|
||||
.endif
|
||||
|
@ -16,7 +16,3 @@ SRCS= ssh-add.c log-client.c
|
||||
|
||||
LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
|
||||
DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
||||
.if defined(RSAREF) && ${RSAREF} == YES
|
||||
LDADD+= -lRSAglue
|
||||
DPADD+= ${LIBRSAGLUE}
|
||||
.endif
|
||||
|
@ -16,7 +16,3 @@ SRCS= ssh-agent.c log-client.c
|
||||
|
||||
LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
|
||||
DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
||||
.if defined(RSAREF) && ${RSAREF} == YES
|
||||
LDADD+= -lRSAglue
|
||||
DPADD+= ${LIBRSAGLUE}
|
||||
.endif
|
||||
|
@ -16,7 +16,3 @@ SRCS= ssh-keygen.c log-client.c
|
||||
|
||||
LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lcrypt -lutil -lz
|
||||
DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
|
||||
.if defined(RSAREF) && ${RSAREF} == YES
|
||||
LDADD+= -lRSAglue
|
||||
DPADD+= ${LIBRSAGLUE}
|
||||
.endif
|
||||
|
@ -35,7 +35,3 @@ DPADD+= ${LIBKRB5} ${LIBCOM_ERR}
|
||||
|
||||
LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypto -lutil -lz
|
||||
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
|
||||
.if defined(RSAREF) && ${RSAREF} == YES
|
||||
LDADD+= -lRSAglue
|
||||
DPADD+= ${LIBRSAGLUE}
|
||||
.endif
|
||||
|
@ -37,7 +37,3 @@ DPADD+= ${LIBKRB5} ${LIBCOM_ERR}
|
||||
|
||||
LDADD+= -L${.OBJDIR}/../../lib/libssh -lssh -lcrypt -lcrypto -lutil -lz -lwrap
|
||||
DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP}
|
||||
.if defined(RSAREF) && ${RSAREF} == YES
|
||||
LDADD+= -lRSAglue
|
||||
DPADD+= ${LIBRSAGLUE}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user