]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix build error when cross-compiling for Windows
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 25 May 2023 09:33:23 +0000 (11:33 +0200)
committerMartin Matuška <martin@matuska.de>
Thu, 13 Jul 2023 22:28:13 +0000 (00:28 +0200)
commitaaf60eb0f14a4b09b3037c0809411baa63ca8781
treea9b104d9ec440b697cffa98cd9f3c115ffe3ac4a
parente2493eb822e021a56346793cb5bd57c405d82e0a
Fix build error when cross-compiling for Windows

CHECK_C_SOURCE_RUNS generates a build error when cross-compiling.

ZLIB_WINAPI is the only one tested. When the run test fails, it's tested again
with just a compilation.
CMakeLists.txt