Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (22 sloc) 0.528 kb
#!/bin/bash
OS_TARGET=`uname -s`
case "$OS_TARGET" in
linux* | Linux*)
HOST_OS=Linux
echo "#define USE_EPOLL_HANDLER" > ./src/configure.h
echo "LINUX_BUILD = 1" > ./modules/plateform.mk;;
Darwin*)
HOST_OS=Darwin
echo "#define USE_KQUEUE_HANDLER" > ./src/configure.h
echo "DARWIN_BUILD = 1" > ./modules/plateform.mk;;
*)
HOST_IS=Linux;;
esac
cd ./libs/udns-0.0.9/
make clean && ./configure && make
cd ../js1.8/src/
./configure && make
cd ../../../
make
cd modules
make
Jump to Line
Something went wrong with that request. Please try again.