[Forensics-changes] [yara] 68/192: Add include directory for OpenSSL in Mac OS X

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit 41bc1e2be4085034c08c630cec907c25124ea840
Author: plusvic <plusvic at gmail.com>
Date:   Mon Nov 14 18:49:51 2016 +0100

    Add include directory for OpenSSL in Mac OS X
    
    Mac OS X 10.11 (El Capitan) and later moved the OpenSSL headers to /usr/local/opt/openssl/include.
---
 configure.ac | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index bec3a15..4a597e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,10 @@ case $host_alias in
 esac
 
 case $host_os in
-    darwin*) CFLAGS="$CFLAGS -I/opt/local/include" ;;
+    darwin*) CFLAGS="$CFLAGS -I/opt/local/include"
+             # Starting with Mac OS X 10.11 (El Capitan) the OpenSSL headers
+             # are in /usr/local/opt/openssl/include
+             CFLAGS="$CFLAGS -I/usr/local/opt/openssl/include" ;;
 esac
 
 AC_C_BIGENDIAN

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list