summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-05 14:06:32 -0500
committerJune McEnroe <june@causal.agency>2021-03-05 14:06:32 -0500
commitf5660f3bd008bc385c32c2373d6696f425ce25e7 (patch)
treead79cf274a7460e371ad15b129e9dd798f6bfd1d
parentMerge LibreSSL 3.3.1 into master (diff)
downloadlibretls-f5660f3bd008bc385c32c2373d6696f425ce25e7.tar.gz
libretls-f5660f3bd008bc385c32c2373d6696f425ce25e7.zip
build: Add OpenSSL includes to libcompat
Some compat sources (getentropy_linux.c for example) require OpenSSL.

Reported by Robert Scheck.
Diffstat (limited to '')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7fb433e..c3b80ba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,6 +64,8 @@ endif
 # other compatibility functions
 libcompat_la_SOURCES =
 libcompat_la_LIBADD = $(PLATFORM_LDADD)
+libcompat_la_CPPFLAGS = $(AM_CPPFLAGS)
+libcompat_la_CPPFLAGS += $(OPENSSL_INCLUDES)
 
 if !HAVE_STRLCPY
 libcompat_la_SOURCES += compat/strlcpy.c