Commit f89974b3 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia
Browse files

[OPENBUS-2184] Adaptação do código para ser compatível também com Lua 5.2

- Ajuste para utilização das bibliotecas corretas do pacote binário do OpenSSL

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/branches/02_00_00@149639 ae0415b3-e90b-0410-900d-d0be9363c56b
parent c537b8e0
......@@ -106,11 +106,21 @@ endif
ifneq ($(findstring $(TEC_SYSNAME), Win32 Win64), )
APPTYPE= console
LIBS+= wsock32 rpcrt4 libeay32MD ssleay32MD
ifeq "$(TEC_WORDSIZE)" "TEC_32"
LDIR+= ../../OpenSSL-Win32/lib/VC
LIBS+= wsock32 rpcrt4
ifneq ($(findstring dll, $(TEC_UNAME)), ) # USE_DLL
ifdef DBG
LIBS+= libeay32MDd ssleay32MDd
else
LIBS+= libeay32MD ssleay32MD
endif
LDIR+= $(OPENSSL_HOME)/lib/VC
else
LDIR+= ../../OpenSSL-Win64/lib/VC
ifdef DBG
LIBS+= libeay32MTd ssleay32MTd
else
LIBS+= libeay32MT ssleay32MT
endif
LDIR+= $(OPENSSL_HOME)/lib/VC/static
endif
else
LIBS+= dl
......
......@@ -118,11 +118,21 @@ endif
ifneq ($(findstring $(TEC_SYSNAME), Win32 Win64), )
APPTYPE= console
LIBS+= wsock32 rpcrt4 libeay32MD ssleay32MD
ifeq "$(TEC_WORDSIZE)" "TEC_32"
LDIR+= ../../OpenSSL-Win32/lib/VC
LIBS+= wsock32 rpcrt4
ifneq ($(findstring dll, $(TEC_UNAME)), ) # USE_DLL
ifdef DBG
LIBS+= libeay32MDd ssleay32MDd
else
LIBS+= libeay32MD ssleay32MD
endif
LDIR+= $(OPENSSL_HOME)/lib/VC
else
LDIR+= ../../OpenSSL-Win64/lib/VC
ifdef DBG
LIBS+= libeay32MTd ssleay32MTd
else
LIBS+= libeay32MT ssleay32MT
endif
LDIR+= $(OPENSSL_HOME)/lib/VC/static
endif
else
LIBS+= dl
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment