Commit f637d09b authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[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/sdk/lua/branches/02_00_00@149640 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 3d29662a
......@@ -78,11 +78,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
......
Markdown is supported
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