File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 33# This software is released under the MIT License.
44# https://opensource.org/licenses/MIT
55
6- set -e
6+ set -ex
77SRC_DIR=$( pwd)
88export GNULIB_SRCDIR=$SRC_DIR /gnutls/gnulib
99export PATH=$PATH :$GNULIB_SRCDIR
1010
11+ echo -e ' [Build gmplib]'
1112./build-make-dep.sh gmplib --host=${BUILD_ARCH} -windows --prefix=$INSTALL_PREFIX --disable-shared --enable-static --disable-assembly gmp_cv_asm_w32=.word
12- # mv $INSTALL_PREFIX/lib/libgmp.a $INSTALL_PREFIX/lib/gmp.lib
13+ mv $INSTALL_PREFIX /lib/libgmp.a $INSTALL_PREFIX /lib/gmp.lib
1314
1415
1516
17+ echo -e ' [Build nettle]'
1618cd $SRC_DIR /gnutls/devel/nettle
1719
1820gnulib-tool --import unistd
@@ -23,13 +25,14 @@ autoconf
2325
2426make -j$( nproc) install
2527
28+ echo -e ' [Build libtasn1]'
2629cd $SRC_DIR /gnutls/devel/libtasn1
2730./bootstrap
2831./configure --host=${BUILD_ARCH} -windows --prefix=$INSTALL_PREFIX --disable-shared --enable-static --disable-valgrind-tests --disable-doc --disable-dependency-tracking CFLAGS=-DASN1_STATIC
2932make -C lib install
3033# mv $INSTALL_PREFIX/lib/libtasn1.a $INSTALL_PREFIX/lib/tasn1.lib
3134
32-
35+ echo -e ' [Build libev] '
3336cd $SRC_DIR /libev
3437gnulib-tool --import sys_time
3538autoconf
@@ -39,6 +42,7 @@ make install -j$(nproc)
3942
4043
4144
45+ echo -e ' [Build gnutls]'
4246cd $SRC_DIR /gnutls
4347# find . -name "*.gperf"|xargs -P$(nproc) -I{} sed -i "s/\r//g" '{}'
4448gnulib-tool --add-import dirent opendir closedir readdir --local-dir=gl
You can’t perform that action at this time.
0 commit comments