From 90dfc740d7d41c167566e9825d9b15371c286d86 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 12 Jun 2020 10:56:12 -0400 Subject: [PATCH] updated for openssl path on macos --- scripts/clam/cpp/rules.def | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/clam/cpp/rules.def b/scripts/clam/cpp/rules.def index ca59f823..7a04cc83 100644 --- a/scripts/clam/cpp/rules.def +++ b/scripts/clam/cpp/rules.def @@ -104,6 +104,10 @@ endif ############################################################################### ifeq "$(COMPILER)" "GNU_DARWIN" + # finds the crypto code on macos. + HEADER_SEARCH_PATH += /usr/local/opt/openssl/include + LIBRARY_SEARCH_PATH += /usr/local/opt/openssl/lib/ + ifneq "$(USE_XWIN)" "" DEFINITIONS += __XWINDOWS__ __X__ LIBS_USED += @@ -111,7 +115,7 @@ ifeq "$(COMPILER)" "GNU_DARWIN" #need to separate out with a USE_MOTIF kind of thing. #LIBS_USED += Xmu HEADER_SEARCH_PATH += /usr/include/X11 /usr/X11R6/include /usr/include/g++ - LIBRARY_SEARCH_PATH += /usr/X11R6/lib + LIBRARY_SEARCH_PATH += /usr/X11R6/lib endif ifneq "$(USE_SSL)" "" -- 2.34.1