updated for openssl path on macos
authorChris Koeritz <cak0l@virginia.edu>
Fri, 12 Jun 2020 14:56:12 +0000 (10:56 -0400)
committerChris Koeritz <cak0l@virginia.edu>
Fri, 12 Jun 2020 14:56:12 +0000 (10:56 -0400)
scripts/clam/cpp/rules.def

index ca59f82360a30ad4341b456d98c1872406c927b5..7a04cc83c1bac59296339bd5e64a9ce81ead0a9a 100644 (file)
@@ -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)" ""