Enable DSO (Dynamic Shared Object) support. This makes it possible

for OpenSSL to load engines run-time, e.g. for using the opensc
engine port.

The OpenSSL Configure script enables DSO support on FreeBSD by
default, we just don't use the Configure script during OpenSSL builds
in the base system.

This is committed to -CURRENT now (before OpenSSL 0.9.8b import), so
it can be tested at bit in -CURRENT before being MFC'ed to 6-STABLE.

Prodded by:	ale
PR:		bin/79570
MFC after:	1 week
This commit is contained in:
Simon L. B. Nielsen 2006-07-17 11:47:35 +00:00
parent f1acac210b
commit af7ca25b1e

View File

@ -7,7 +7,7 @@ LCRYPTO_DOC= ${.CURDIR}/../../../crypto/openssl/doc
CFLAGS+= -DTERMIOS -DANSI_SOURCE
CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
CFLAGS+= -DOPENSSL_THREADS
CFLAGS+= -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H
.if ${MK_IDEA} == "no"
CFLAGS+= -DOPENSSL_NO_IDEA