summaryrefslogtreecommitdiff
path: root/lib/libssl/crypto
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2005-04-01 08:15:53 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2005-04-01 08:15:53 +0000
commit1d48727fee2c014ff921bd7d1f52c1260c59c10c (patch)
tree699e06351762d93052affaed9429801a55cf7414 /lib/libssl/crypto
parentef32b7b4ed3473dd3074dc2f1b99a45e889d4dd2 (diff)
re-enable DSO_DLFCN on shared lib architectures; ok deraadt
Diffstat (limited to 'lib/libssl/crypto')
-rw-r--r--lib/libssl/crypto/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile
index 876c7f02933..960b0ceab62 100644
--- a/lib/libssl/crypto/Makefile
+++ b/lib/libssl/crypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.39 2005/03/30 13:33:01 markus Exp $
+# $OpenBSD: Makefile,v 1.40 2005/04/01 08:15:52 markus Exp $
LIB= crypto
@@ -14,8 +14,13 @@ CFLAGS+= -DL_ENDIAN
CFLAGS+= -DB_ENDIAN
.endif
+.include <bsd.own.mk> # for 'NOPIC' definition
+.if !defined(NOPIC)
+CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H
+.endif
+
CFLAGS+= -DOPENSSL_NO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR -DOPENSSL_NO_ASM
-CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 -DSO_DLFCN -DHAVE_DLFCN_H
+CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5
CFLAGS+= -DOPENSSL_NO_MDC2
CFLAGS+= -DNO_WINDOWS_BRAINDEATH
CFLAGS+= -DOPENSSL_NO_HW_CSWIFT -DOPENSSL_NO_HW_NCIPHER -DOPENSSL_NO_HW_ATALLA