Skip to content

Commit ca00a96

Browse files
committed
curl: allow building for multiple architectures again
With the `.netrc` fix, two files are created by a patch. When reusing the same `srcdir` for multiple architectures, this would cause problems. So let's delete the files in question if the `.netrc` fix is done via a separate `.patch` file. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0370166 commit ca00a96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mingw-w64-curl/PKGBUILD

+3
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ prepare() {
9090
cmp "${startdir}/../mingw-w64-pathtools/pathtools.h" "${srcdir}/pathtools.h"
9191
} || exit 1
9292

93+
test ! -f "${srcdir}/netrc-regression-1.patch ||
94+
rm -f tests/data/test2309 tests/libtest/lib2309.c
95+
9396
cd "${srcdir}/${_realname}-${pkgver}"
9497
cp -fHv "${srcdir}"/pathtools.[ch] lib/
9598

0 commit comments

Comments
 (0)