Add cmake to build from source

Add cmake to build from source

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-06-30 09:07:19 +02:00
parent ce95ecfbf6
commit 479f1c5d6f
5 changed files with 10 additions and 8 deletions

View File

@ -18,7 +18,7 @@ function do_curl_build {
# We do this shared to avoid obnoxious linker issues where git couldn't
# link properly. If anyone wants to make this build statically go for it.
LIBS=-ldl CFLAGS=-Wl,--exclude-libs,ALL ./configure --with-ssl --disable-static > /dev/null
make > /dev/null
make -j$(nproc) > /dev/null
make install > /dev/null
}