Skip to content

Commit 55616ac

Browse files
author
Yorhel
committed
static: Update to latest libraries
1 parent dd4d05e commit 55616ac

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

static/build.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
# - Cross-compile to platforms other than Linux?
2424

2525

26-
MUSL_VERSION=1.1.1
26+
MUSL_VERSION=1.1.5
2727
ZLIB_VERSION=1.2.8
2828
BZIP2_VERSION=1.0.6
29-
SQLITE_VERSION=3080403
29+
SQLITE_VERSION=3080702
3030
GMP_VERSION=6.0.0
3131
NETTLE_VERSION=2.7.1
32-
GNUTLS_VERSION=3.3.4
32+
GNUTLS_VERSION=3.3.10
3333
NCURSES_VERSION=5.9
34-
GLIB_VERSION=2.40.0
35-
GEOIP_VERSION=1.6.2
34+
GLIB_VERSION=2.43.1
35+
GEOIP_VERSION=1.6.3
3636

3737

3838
# We don't actually use pkg-config at all. Setting this variable to 'true'
@@ -242,7 +242,11 @@ getglib() {
242242
getgeoip() {
243243
fem https://github.com/maxmind/geoip-api-c/releases/download/v${GEOIP_VERSION}/ GeoIP-${GEOIP_VERSION}.tar.gz geoip
244244
prebuild geoip || return
245-
$srcdir/configure --prefix=$PREFIX --host=$HOST --disable-shared --disable-datafiles || exit
245+
# Build fails on ARM without this check, because autoconf can't figure this
246+
# out when cross-compiling.
247+
export ac_cv_func_malloc_0_nonnull=yes
248+
export ac_cv_func_realloc_0_nonnull=yes
249+
$srcdir/configure --prefix=$PREFIX --host=$HOST --disable-shared || exit
246250
make -C libGeoIP datadir=/usr/share install || exit
247251
postbuild
248252
}

0 commit comments

Comments
 (0)