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

[OPENBUS-2535] Adicionar suporte SSL no núcleo do barramento

- Adicionando a biblioteca LuaSec 0.5 à compilação do 'busconsole'.


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/trunk@154773 ae0415b3-e90b-0410-900d-d0be9363c56b
parent cfeddcee
......@@ -19,6 +19,7 @@ LIBS:= \
lfs \
luuid \
lce \
luasec \
luascs \
luaopenbus
......@@ -34,6 +35,7 @@ INCLUDES+= . $(SRCLUADIR) \
$(LUAFILESYSTEM_HOME)/include \
$(LUUID_HOME)/include \
$(LCE_HOME)/include \
$(LUASEC_HOME)/include \
$(SCS_LUA_HOME)/obj/$(TEC_UNAME) \
$(OPENBUS_LUA_HOME)/obj/$(TEC_UNAME)
LDIR+= \
......@@ -48,6 +50,7 @@ LDIR+= \
$(LUAFILESYSTEM_HOME)/lib/$(TEC_UNAME) \
$(LUUID_HOME)/lib/$(TEC_UNAME) \
$(LCE_HOME)/lib/$(TEC_UNAME) \
$(LUASEC_HOME)/lib/$(TEC_UNAME) \
$(SCS_LUA_HOME)/lib/$(TEC_UNAME) \
$(OPENBUS_LUA_HOME)/lib/$(TEC_UNAME)
......
......@@ -20,6 +20,7 @@
#include "luuid.h"
#include "lfs.h"
#include "lce.h"
#include "luasec.h"
#include "luavararg.h"
#include "luastruct.h"
#include "luasocket.h"
......@@ -502,6 +503,7 @@ static int pmain (lua_State *L) {
lua_pop(L, 1); /* pop 'package.preload' table */
/* preload other C libraries */
luapreload_lce(L);
luapreload_luasec(L);
/* preload script libraries */
luapreload_loop(L);
luapreload_luatuple(L);
......
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