File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -84,4 +84,6 @@ third_party/lua/src/liblua.so
8484src /proto /msg_id.proto
8585src /struct /msg_id.h
8686src /struct /msg_id.cc
87- src /proto /n_msg_id.proto
87+ src /proto /n_msg_id.proto
88+ third_party /libevent /test /regress.gen.c
89+ third_party /libevent /test /regress.gen.h
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ function build_lua()
148148 check_err
149149 cp ./src/* .dylib ../build/lib
150150 else
151- make linux
151+ make linux CFLAGS= " -fPIC "
152152 check_err
153153 cp ./src/* .so ../build/lib
154154 fi
Original file line number Diff line number Diff line change 2222echo " Current LinuxDistro $LinuxDistro "
2323
2424if [ $LinuxDistro == " Debian" ] || [ $LinuxDistro == " Ubuntu" ] || [ $LinuxDistro == " Raspbian" ]; then
25- $sudo apt-get update
26- $sudo apt-get -y git cmake unzip automake make gcc g++ libtool pkg-config
27- $sudo apt-get -y install libreadline-dev libssl-dev libncurses-dev
25+ $sudo apt update
26+ $sudo apt install -y git cmake unzip automake make gcc g++ libtool pkg-config
27+ $sudo apt install -y libreadline-dev libssl-dev libncurses-dev python3
2828
2929elif [ $LinuxDistro == " CentOS" ] || [ $LinuxDistro == " RHEL" ] || [ $LinuxDistro == " Fedora" ] || [ $LinuxDistro == " Aliyun" ]; then
3030 $sudo yum -y install cmake unzip automake make
You can’t perform that action at this time.
0 commit comments