Thanks for the quick fix.
I have tested this on Ubuntu 22.04 / x86_64-w64-mingw32, and it still
does not work (because there is no libpathcch.a). Then I have tested on
Ubuntu 24.04.03, with the provided mingw-w64 (--host=x86_64-w64-mingw32)
and it compiles nicely again.
I have not actually tested the resulting binary, but usually this is not
where the different build systems run into problems.
I do assume that CMake building on 22.04 will now also fail - this is
something we do need to document in our release notes for rc1 and 2.7.0,
that "mingw builds now need 24.04". But I think this is a reasonable
requirement - we did drop 20.04 at some point, for similar reasons, if
I recall correctly.
Your patch has been applied to the master branch.
(The whole "canonify patches" thing is not yet in 2.6, so when we backport
the one, we could just squash these two)
commit d5e6b72460af88c4d2820195d1a5df62358c41e1
Author: Selva Nair
Date: Fri Oct 31 10:23:52 2025 +0100
Add -lpathcch for mingw32 builds using autotools
Signed-off-by: Selva Nair <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1334
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg34095.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel