copy crypt to client.crypt, see #655

This commit is contained in:
Cloud Wu
2017-06-06 13:54:43 +08:00
parent 4e54a27500
commit 1328895ff9
7 changed files with 13 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ update3rd :
CSERVICE = snlua logger gate harbor
LUA_CLIB = skynet \
clientsocket \
client \
bson md5 sproto lpeg
LUA_CLIB_SKYNET = \
@@ -100,7 +100,7 @@ $(LUA_CLIB_PATH)/bson.so : lualib-src/lua-bson.c | $(LUA_CLIB_PATH)
$(LUA_CLIB_PATH)/md5.so : 3rd/lua-md5/md5.c 3rd/lua-md5/md5lib.c 3rd/lua-md5/compat-5.2.c | $(LUA_CLIB_PATH)
$(CC) $(CFLAGS) $(SHARED) -I3rd/lua-md5 $^ -o $@
$(LUA_CLIB_PATH)/clientsocket.so : lualib-src/lua-clientsocket.c | $(LUA_CLIB_PATH)
$(LUA_CLIB_PATH)/client.so : lualib-src/lua-clientsocket.c lualib-src/lua-crypt.c lualib-src/lsha1.c | $(LUA_CLIB_PATH)
$(CC) $(CFLAGS) $(SHARED) $^ -o $@ -lpthread
$(LUA_CLIB_PATH)/sproto.so : lualib-src/sproto/sproto.c lualib-src/sproto/lsproto.c | $(LUA_CLIB_PATH)