mirror of git://git.2f30.org/morpheus.git
Use g++ and disable openssl and execinfo for libtorrent
This commit is contained in:
parent
9e0fc902ab
commit
1061fbaef2
|
@ -12,7 +12,9 @@ unpack() {
|
|||
|
||||
build() {
|
||||
pushd src/libtorrent-0.13.3
|
||||
CC=x86_64-linux-musl-gcc ./configure --prefix=$libcroot --disable-shared || return 1
|
||||
CXX=x86_64-linux-musl-g++ ./configure --prefix=$libcroot \
|
||||
--disable-openssl --disable-shared || return 1
|
||||
sed -i 's/#define USE_EXECINFO 1//g' config.h
|
||||
make -j$nprocs || return 1
|
||||
popd
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue