diff options
author | peter <peter@FreeBSD.org> | 2000-03-02 05:22:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-03-02 05:22:46 +0000 |
commit | c01fb7a6e52244b3cf2d879f2721916caa378031 (patch) | |
tree | b6b30c7a147a4a13cf6f85fbb815d4515c83d785 /secure/lib | |
parent | 43f5583c5c2c00ddb58c3c5527ab57dad165c750 (diff) | |
download | FreeBSD-src-c01fb7a6e52244b3cf2d879f2721916caa378031.zip FreeBSD-src-c01fb7a6e52244b3cf2d879f2721916caa378031.tar.gz |
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).
Diffstat (limited to 'secure/lib')
-rw-r--r-- | secure/lib/librsausa/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/secure/lib/librsausa/Makefile b/secure/lib/librsausa/Makefile index 9fed9eb..6196af9 100644 --- a/secure/lib/librsausa/Makefile +++ b/secure/lib/librsausa/Makefile @@ -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 |