[OPENBUS-2739] Permitir modo interativo do 'busconsole' e 'busadmin'

- Ajustando ordem das bibliotecas para compilacao usando linkagem estatica.
- Adicionando link com pthread no Linux.


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/trunk@161131 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 997717cf
......@@ -18,6 +18,7 @@ DEFINES= \
OPENBUS_CODEREV=\"$(CODEREV)\"
LIBS:= \
luaopenbus \
luastruct \
luasocket \
luatuple \
......@@ -30,8 +31,7 @@ LIBS:= \
luuid \
lce \
luasec \
luascs \
luaopenbus
luascs
INCLUDES+= . \
$(SRCLUADIR) \
......@@ -72,7 +72,7 @@ ifdef USE_LUA51
endif
ifeq "$(TEC_SYSNAME)" "Linux"
LFLAGS = -Wl,-E
LFLAGS = -Wl,-E -lpthread
endif
ifeq "$(TEC_SYSNAME)" "SunOS"
USE_CC=Yes
......@@ -128,4 +128,4 @@ $(PRELOAD_DIR)/luaconsole.c $(PRELOAD_DIR)/luaconsole.h: $(LUAPRELOADER) $(LUASR
$(LUASRC)
luaconsole.c: $(PRELOAD_DIR)/luaconsole.h
consolelibs.c: $(PRELOAD_DIR)/luaconsole.h
\ No newline at end of file
consolelibs.c: $(PRELOAD_DIR)/luaconsole.h
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