aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@impa.br>2013-05-26 21:27:18 +0800
committerDiego Nehab <diego@impa.br>2013-05-26 21:27:18 +0800
commitfbe184f28af85cda61394790e8114c6143057364 (patch)
tree276e02fe55080f192fb23d5064efae1dc06bc881
parent427220c7b177cdae2379ac419d975c69764ba8ee (diff)
downloadluasocket-fbe184f28af85cda61394790e8114c6143057364.tar.gz
luasocket-fbe184f28af85cda61394790e8114c6143057364.tar.bz2
luasocket-fbe184f28af85cda61394790e8114c6143057364.zip
No need for build script: makefile target instead.
-rw-r--r--build-mingw.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/build-mingw.sh b/build-mingw.sh
deleted file mode 100644
index e636c2c..0000000
--- a/build-mingw.sh
+++ /dev/null
@@ -1,9 +0,0 @@
1LUA=../lua-5.2.1/src/
2BUILD_FLAGS="-Wl,-s -O2 -shared -D LUA_COMPAT_MODULE -D IPV6_V6ONLY=27 -D WINVER=0x0501 -s -I src -I $LUA -L $LUA"
3
4mkdir -p lib/mime lib/socket
5gcc $BUILD_FLAGS -o "lib/mime/core.dll" src/mime.c -llua \
6 || { echo "Error: failed to build LuaSocket/mime"; exit 1; }
7gcc $BUILD_FLAGS -o "lib/socket/core.dll" \
8 src/{luasocket.c,auxiliar.c,buffer.c,except.c,inet.c,io.c,options.c,select.c,tcp.c,timeout.c,udp.c,wsocket.c} -lwsock32 -lws2_32 -llua \
9 || { echo "Error: failed to build LuaSocket/socket"; exit 1; }