Update build scripts

This commit is contained in:
Tindy X
2020-01-07 23:30:34 +08:00
parent f2e12f1e4b
commit e6a5e55a69
2 changed files with 26 additions and 14 deletions

View File

@@ -3,14 +3,7 @@ mkdir obj
set -xe
apk add gcc g++ build-base linux-headers cmake make autoconf automake libtool
apk add libressl-dev zlib-dev rapidjson-dev libevent-dev libevent-static zlib-static pcre-dev bzip2-static
git clone https://github.com/curl/curl
cd curl
./buildconf
./configure --with-ssl --disable-ldap --disable-ldaps --disable-rtsp --without-libidn2 > /dev/null
make install -j4 > /dev/null
cd ..
apk add openssl-dev openssl-libs-static curl-dev curl-static nghttp2-static zlib-dev rapidjson-dev libevent-dev libevent-static zlib-static pcre-dev bzip2-static
git clone https://github.com/jbeder/yaml-cpp
cd yaml-cpp