commit ca494c0972f6af24d9734df89c6f2fd80252aa31 parent 4c07bd14df40e241cfe6425cef11f3dd8ceaf35a Author: sin <sin@2f30.org> Date: Thu, 26 Sep 2013 12:30:52 +0100 Use --enable-static for the deps Diffstat:
M | cross-scripts/curl | | | 2 | +- |
M | cross-scripts/libevent | | | 2 | +- |
M | cross-scripts/libtorrent | | | 2 | +- |
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cross-scripts/curl b/cross-scripts/curl @@ -13,7 +13,7 @@ unpack() { build() { pushd src/curl-7.32.0 CC=x86_64-linux-musl-gcc ./configure --prefix=$libcroot --with-ssl \ - --with-random=/dev/urandom --disable-shared || return 1 + --with-random=/dev/urandom --disable-shared --enable-static || return 1 make -j$nprocs || return 1 popd } diff --git a/cross-scripts/libevent b/cross-scripts/libevent @@ -12,7 +12,7 @@ unpack() { build() { pushd src/libevent-2.0.21-stable - CC="x86_64-linux-musl-gcc -static" ./configure --prefix=$libcroot --disable-shared || return 1 + CC="x86_64-linux-musl-gcc -static" ./configure --prefix=$libcroot --disable-shared --enable-static || return 1 make -j$nprocs || return 1 popd } diff --git a/cross-scripts/libtorrent b/cross-scripts/libtorrent @@ -13,7 +13,7 @@ unpack() { build() { pushd src/libtorrent-0.13.3 CXX="x86_64-linux-musl-g++ -static" ./configure --prefix=$libcroot \ - --disable-openssl --disable-shared || return 1 + --disable-openssl --disable-shared --enable-static || return 1 sed -i 's/#define USE_EXECINFO 1//g' config.h make -j$nprocs || return 1 popd