aboutsummaryrefslogtreecommitdiff
path: root/secure/lib
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2020-06-01 18:58:09 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2020-06-01 18:58:09 +0000
commit82c3a6548f7a4b40a68c27faa55751af56e42b38 (patch)
tree9a594ec6ba01302837f1bd591e589f592c596440 /secure/lib
parent1cfffed85daee433be4c8666e83ab2facf383821 (diff)
downloadsrc-82c3a6548f7a4b40a68c27faa55751af56e42b38.tar.gz
src-82c3a6548f7a4b40a68c27faa55751af56e42b38.zip
Install 32-bit libcrypto engines in /usr/lib32/engines instead of
/usr/lib32 and let 32-bit libcrypto search that location instead of /usr/lib/engines. Reviewed by: jkim
Notes
Notes: svn path=/head/; revision=361700
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libcrypto/Makefile.inc2
-rw-r--r--secure/lib/libcrypto/engines/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index e33f59681a83..139dbb69a0ae 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -75,7 +75,7 @@ CFLAGS+= -DPOLY1305_ASM
.if defined(LIB)
CFLAGS+= -DOPENSSLDIR="\"/etc/ssl\""
-CFLAGS+= -DENGINESDIR="\"/usr/lib/engines\""
+CFLAGS+= -DENGINESDIR="\"${LIBDIR}/engines\""
.endif
CFLAGS+= -DNDEBUG
diff --git a/secure/lib/libcrypto/engines/Makefile.inc b/secure/lib/libcrypto/engines/Makefile.inc
index fd9e9f9bcc9f..1d368ae5d650 100644
--- a/secure/lib/libcrypto/engines/Makefile.inc
+++ b/secure/lib/libcrypto/engines/Makefile.inc
@@ -1,6 +1,6 @@
# $FreeBSD$
-SHLIBDIR?= /usr/lib/engines
+SHLIBDIR= ${LIBDIR}/engines
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl