Commit 8be9051b 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 nos makefiles para compilação no Windows usando bibliotecas estáticas.

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/branches/02_00_00@147843 ae0415b3-e90b-0410-900d-d0be9363c56b
parent bd0b0ae9
......@@ -89,7 +89,7 @@ ifeq "$(TEC_SYSNAME)" "SunOS"
LFLAGS= $(CFLAGS) -xildoff
endif
ifneq "$(TEC_SYSNAME)" "Win32"
ifeq ($(findstring $(TEC_SYSNAME), Win32 Win64), )
INCLUDES+= $(LUALDAP_HOME)/include
LDIR+= $(LUALDAP_HOME)/lib/$(TEC_UNAME)
LIBS+= lualdap
......@@ -103,15 +103,21 @@ ifdef USE_STATIC
LIBS:=
endif
else
ifneq "$(TEC_SYSNAME)" "Win32"
ifeq ($(findstring $(TEC_SYSNAME), Win32 Win64), )
ifneq "$(TEC_SYSNAME)" "Darwin"
LIBS+= uuid
endif
endif
endif
ifeq "$(TEC_SYSNAME)" "Win32"
ifneq ($(findstring $(TEC_SYSNAME), Win32 Win64), )
APPTYPE= console
LIBS+= wsock32 libeay32MD ssleay32MD
ifeq "$(TEC_WORDSIZE)" "TEC_32"
LDIR+= ../../OpenSSL-Win32/lib/VC
else
LDIR+= ../../OpenSSL-Win64/lib/VC
endif
else
LIBS+= dl
endif
......
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