From 4cffda193ba3fd6d0a167e5188ae52517c0c476d Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 15 Jul 2015 19:17:27 -0500 Subject: [PATCH] build libcrypto with -DLIBRESSL_INTERNAL Since libcrypto defines its own CPPFLAGS, we need to set this for libcrypto specifically. --- crypto/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 7a42c3e..4fba77b 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -10,7 +10,8 @@ EXTRA_DIST = VERSION libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined libcrypto_la_LIBADD = libcompat.la libcompatnoopt.la -libcrypto_la_CPPFLAGS = -DOPENSSL_NO_HW_PADLOCK +libcrypto_la_CPPFLAGS = -DLIBRESSL_INTERNAL +libcrypto_la_CPPFLAGS += -DOPENSSL_NO_HW_PADLOCK if OPENSSL_NO_ASM libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM else