--- Makefile.defs 2007-08-16 18:23:20.000000000 +0400 +++ Makefile.defs 2007-08-26 11:07:20.000000000 +0400 @@ -1205,8 +1205,8 @@ #add libssl if needed ifneq ($(TLS),) -DEFS+= -I$(LOCALBASE)/ssl/include -I$(LOCALBASE)/include -LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl -lcrypto +DEFS+= +LIBS+= -L$(LOCALBASE)/lib -lssl -lcrypto endif ifneq ($(found_lock_method), yes) --- modules/tlsops/Makefile 2007-08-16 18:22:38.000000000 +0400 +++ modules/tlsops/Makefile 2007-08-26 11:09:18.000000000 +0400 @@ -7,8 +7,8 @@ NAME=tlsops.so LIBS= -DEFS+= -I$(LOCALBASE)/ssl/include -LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl -lcrypto +DEFS+= +LIBS+= -L$(LOCALBASE)/lib -lssl -lcrypto include ../../Makefile.modules