Merge from internat.freebsd.org: add libcrypto to librsaUSA's symbol search

path so that ERR_load_strings() is found in certain circumstances
involving dlopen().  eg: main program dlopened foo.so which is linked
against libcrypto.  If libcrypto then dlopens librsaUSA.so, then it's
search path doens't find libcrypto (!).  One "fix" is to force
modules (eg main opening foo.so) to use the RTLD_GLOBAL flag, the other
is to explicitly declare dependencies (as done here).
This commit is contained in:
Peter Wemm 2000-03-02 05:22:46 +00:00
parent fee576b2e5
commit 3187486c8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57681

View File

@ -10,6 +10,8 @@ SHLIB_MAJOR= 1
CFLAGS+= -I${.OBJDIR}
LDADD+= -L${.OBJDIR}/../libcrypto -lcrypto
# rsaref
SRCS+= rsar_err.c rsaref.c rsaref_stubs.c