diff options
author | Christian Pointner <equinox@anylike.org> | 2010-01-06 16:10:20 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anylike.org> | 2010-01-06 16:10:20 +0000 |
commit | 263547cf175c11e9bd5138f28155ccd4aa36e055 (patch) | |
tree | eb113a24c3736a5af3796ada82501d87122ebaa6 | |
parent | cleanup at signal handler (diff) |
added info for build with gnutls on windows
-rw-r--r-- | README | 10 | ||||
-rwxr-xr-x | src/configure | 1 | ||||
-rw-r--r-- | src/main_loop.lua | 2 |
3 files changed, 9 insertions, 4 deletions
@@ -55,9 +55,16 @@ Windows ------- common: - Visual Studio C++ (Express Edition is just fine) + MinGW and MSYS (details follow) lua-5.1.x +using gnutls: + http://josefsson.org/gnutls4win/gnutls-2.9.9.zip (extract in MinGW Directory) + +using openssl: + MSYS openssl dll (extract in MinGW Directory) + MSYS openssl dev (extract in MinGW Directory) + Installation ============ @@ -117,7 +124,6 @@ This removes everytthing except for the config files This also removes the config files - Usage: ====== diff --git a/src/configure b/src/configure index b07e4fd..f6faa48 100755 --- a/src/configure +++ b/src/configure @@ -131,7 +131,6 @@ case $TARGET in CFLAGS=$CFLAGS' -DWINVER=0x501 -D_WIN32_WINNT -D_WIN32' LDFLAGS=$LDFLAGS' -lwsock32' TARGET=mingw - CRYPTO_LIB=openssl if [ -z "$LUA_DIR" ]; then echo "No Lua tree specified, use --with-lua" exit 1 diff --git a/src/main_loop.lua b/src/main_loop.lua index b7dd5af..f7f09e9 100644 --- a/src/main_loop.lua +++ b/src/main_loop.lua @@ -36,7 +36,7 @@ function main_loop(opt) local sig = signal.init() local sock = {} - sock[1] = echo_server.init("localhost", 4500) + sock[1] = echo_server.init("localhost", 9000) if(sock[1] == nil) then return -1 end sock[2] = echo_server.init("localhost", 10000) |