Browse code

- added -I/usr/local/ssl/include for all OSes, if TLS support is enabled

Andrei Pelinescu-Onciul authored on 25/05/2005 17:43:39
Showing 1 changed files
... ...
@@ -922,9 +922,6 @@ ifeq  ($(OS), solaris)
922 922
 		#LDFLAGS=-g $(PROFILE)
923 923
 		#MOD_LDFLAGS=-g -G
924 924
 	endif
925
-ifneq ($(TLS),)
926
-	DEFS+= -I/usr/local/ssl/include
927
-endif
928 925
 	YACC=yacc
929 926
 
930 927
 ifeq ($(CC_NAME), suncc)
... ...
@@ -1024,6 +1021,7 @@ endif
1024 1024
 
1025 1025
 #add libssl if needed
1026 1026
 ifneq ($(TLS),)
1027
+DEFS+= -I/usr/local/ssl/include
1027 1028
 LIBS+= -L/usr/local/lib -L/usr/local/ssl/lib -lssl  -lcrypto
1028 1029
 endif
1029 1030