Skip to content

Commit 5337084

Browse files
committed
CI: fix metalink test failure on i686
gnulib introduced 64b time_t: https://git.savannah.gnu.org/gitweb/?p=gnulib.git&a=search&h=HEAD&st=commit&s=year2038
1 parent a0ca9ae commit 5337084

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/github-CI-Windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ jobs:
118118
sed -i "s/-dirty\b//p" configure
119119
120120
# -->
121+
# gnulib requires `-D__MINGW_USE_VC2005_COMPAT` for `time_t` from `year2038.m4`, or `--disable-year2038`!
121122
- name: Install extra dependencies
122123
run: |
123124
if [ "${{matrix.ftype}}" = "shared-full" ]; then
@@ -129,7 +130,7 @@ jobs:
129130
wget https://github.com/metalink-dev/libmetalink/releases/download/release-0.1.3/libmetalink-0.1.3.tar.gz
130131
tar -xvzf libmetalink-0.1.3.tar.gz
131132
cd libmetalink-0.1.3
132-
./configure --disable-tests
133+
./configure CFLAGS=-D__MINGW_USE_VC2005_COMPAT --disable-xmltest
133134
make install
134135
elif [ "${{matrix.ftype}}" = "static-lite" ]; then
135136
wget https://github.com/win-iconv/win-iconv/archive/refs/tags/v0.0.8.tar.gz

0 commit comments

Comments
 (0)