mirror of
https://github.com/opnsense/src.git
synced 2026-02-26 03:13:02 -05:00
/usr/lib32 and let 32-bit libcrypto search that location instead of /usr/lib/engines. Reviewed by: jkim
20 lines
382 B
Makefile
20 lines
382 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIBDIR= ${LIBDIR}/engines
|
|
|
|
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
|
|
|
|
CFLAGS+= -I${LCRYPTO_SRC}/engines
|
|
CFLAGS+= -I${LCRYPTO_SRC}/include
|
|
CFLAGS+= -I${OBJTOP}/secure/lib/libcrypto
|
|
|
|
.include <bsd.endian.mk>
|
|
|
|
.if ${TARGET_ENDIANNESS} == 1234
|
|
CFLAGS+= -DL_ENDIAN
|
|
.elif ${TARGET_ENDIANNESS} == 4321
|
|
CFLAGS+= -DB_ENDIAN
|
|
.endif
|
|
CFLAGS+= -DNDEBUG
|
|
|
|
.PATH: ${LCRYPTO_SRC}/engines
|