@@ -258,53 +258,6 @@ if [ ! -f "$INSTALL_PATH"/lib/libgpg-error.a ]; then
258258 cd ..
259259fi
260260# -----------------------------------------------------------------------------
261- # build assuan
262- # -----------------------------------------------------------------------------
263- if [ ! -f " $INSTALL_PATH " /lib/libassuan.a ]; then
264- wget -nc https://gnupg.org/ftp/gcrypt/libassuan/libassuan-3.0.2.tar.bz2
265- tar -xf libassuan-3.0.2.tar.bz2
266- cd libassuan-3.0.2 || exit
267- ./configure \
268- --host=$WGET_MINGW_HOST \
269- --disable-shared \
270- --prefix=" $INSTALL_PATH " \
271- --enable-static \
272- --disable-doc \
273- --with-libgpg-error-prefix=" $INSTALL_PATH "
274- (( $? != 0 )) && { printf ' %s\n' " [assuan] configure failed" ; exit 1; }
275- make -j $CORE
276- (( $? != 0 )) && { printf ' %s\n' " [assuan] make failed" ; exit 1; }
277- make install
278- (( $? != 0 )) && { printf ' %s\n' " [assuan] make install" ; exit 1; }
279- cd ..
280- fi
281- # -----------------------------------------------------------------------------
282- # build gpgme
283- # -----------------------------------------------------------------------------
284- if [ ! -f " $INSTALL_PATH " /lib/libgpgme.a ]; then
285- wget -nc https://gnupg.org/ftp/gcrypt/gpgme/gpgme-2.0.1.tar.bz2
286- tar -xf gpgme-2.0.1.tar.bz2
287- cd gpgme-2.0.1 || exit
288- ./configure \
289- --host=$WGET_MINGW_HOST \
290- --disable-shared \
291- --prefix=" $INSTALL_PATH " \
292- --enable-static \
293- --with-libgpg-error-prefix=" $INSTALL_PATH " \
294- --disable-gpg-test \
295- --disable-g13-test \
296- --disable-gpgsm-test \
297- --disable-gpgconf-test \
298- --disable-glibtest \
299- --with-libassuan-prefix=" $INSTALL_PATH "
300- (( $? != 0 )) && { printf ' %s\n' " [gpgme] configure failed" ; exit 1; }
301- make -j $CORE
302- (( $? != 0 )) && { printf ' %s\n' " [gpgme] make failed" ; exit 1; }
303- make install
304- (( $? != 0 )) && { printf ' %s\n' " [gpgme] make install" ; exit 1; }
305- cd ..
306- fi
307- # -----------------------------------------------------------------------------
308261# build zlib
309262# -----------------------------------------------------------------------------
310263if [ ! -f " $INSTALL_PATH " /lib/libz.a ]; then
@@ -358,7 +311,7 @@ CFLAGS="-I$INSTALL_PATH/include -D_WIN32_WINNT=0x601 -DGNUTLS_INTERNAL_BUILD=1 -
358311 CARES_LIBS=" -L$INSTALL_PATH /lib -lcares" \
359312 PCRE2_CFLAGS=$CFLAGS \
360313 PCRE2_LIBS=" -L$INSTALL_PATH /lib -lpcre2-8" \
361- LIBS=" -L$INSTALL_PATH /lib -lbcrypt -lhogweed -lnettle -lgmp -ltasn1 -lidn2 -lpsl -liphlpapi -lcares -lunistring -liconv -lpcre2-8 -lgpgme -lassuan - lgpg-error -lz -lcrypt32 -lpthread" \
314+ LIBS=" -L$INSTALL_PATH /lib -lbcrypt -lhogweed -lnettle -lgmp -ltasn1 -lidn2 -lpsl -liphlpapi -lcares -lunistring -liconv -lpcre2-8 -lgpg-error -lz -lcrypt32 -lpthread" \
362315 ./configure \
363316 --host=$WGET_MINGW_HOST \
364317 --prefix=" $INSTALL_PATH " \
@@ -370,8 +323,7 @@ CFLAGS="-I$INSTALL_PATH/include -D_WIN32_WINNT=0x601 -DGNUTLS_INTERNAL_BUILD=1 -
370323 --with-included-libunistring \
371324 --with-libidn \
372325 --with-cares \
373- --with-libpsl \
374- --with-gpgme-prefix=" $INSTALL_PATH "
326+ --with-libpsl
375327(( $? != 0 )) && { printf ' %s\n' " [wget gnutls] configure failed" ; exit 1; }
376328make clean
377329make -j $CORE
@@ -397,7 +349,7 @@ CFLAGS="-I$INSTALL_PATH/include -D_WIN32_WINNT=0x601 -DCARES_STATICLIB=1 -DPCRE2
397349 CARES_LIBS=" -L$INSTALL_PATH /lib -lcares" \
398350 PCRE2_CFLAGS=$CFLAGS \
399351 PCRE2_LIBS=" -L$INSTALL_PATH /lib -lpcre2-8" \
400- LIBS=" -L$INSTALL_PATH /lib -lbcrypt -lws2_32 -lidn2 -lpsl -liphlpapi -lcares -lunistring -liconv -lpcre2-8 -lgpgme -lassuan - lgpg-error -lcrypto -lssl -lz -lcrypt32" \
352+ LIBS=" -L$INSTALL_PATH /lib -lbcrypt -lws2_32 -lidn2 -lpsl -liphlpapi -lcares -lunistring -liconv -lpcre2-8 -lgpg-error -lcrypto -lssl -lz -lcrypt32" \
401353 ./configure \
402354 --host=$WGET_MINGW_HOST \
403355 --prefix=" $INSTALL_PATH " \
@@ -410,8 +362,7 @@ CFLAGS="-I$INSTALL_PATH/include -D_WIN32_WINNT=0x601 -DCARES_STATICLIB=1 -DPCRE2
410362 --with-libidn \
411363 --with-cares \
412364 --with-libpsl \
413- --with-openssl \
414- --with-gpgme-prefix=" $INSTALL_PATH "
365+ --with-openssl
415366(( $? != 0 )) && { printf ' %s\n' " [wget openssl] configure failed" ; exit 1; }
416367make -j $CORE
417368(( $? != 0 )) && { printf ' %s\n' " [wget openssl] make failed" ; exit 1; }
0 commit comments