6accd4396e
Do not pass `-DCMAKE_USE_SYSTEM_{BZIP2,LIBLZMA,NGHTTP2,ZSTD}` to cmake. libbz2 and liblzma are dependencies of libarchive. CMake does have an option to use zstd because libarchive supports linking to zstd (as a side note, we are building libarchive without zstd). libnghttp2 is dependency of libcurl. CMake's CMakeLists.txt does have options for these libraries in case we are not using shared libarchive and libcurl but wish to link against shared libraries of dependencies of libcurl and libarchive. In case we tell CMake to use shared libarchive and libcurl, these options are basically ignored (i.e. they don't anyway affect the build), which we are doing right now. So there's no need of these options at all! Lastly, `-DCMAKE_USE_SYSTEM_ZLIB` needs to be specified because CMake does directly link against zlib. Perhaps making this option depend on `"NOT CMAKE_USE_SYSTEM_LIBARCHIVE;NOT CMAKE_USE_SYSTEM_CURL"` in CMakeLists.txt:197 is a mistake. Reporting this to upstream might make sense |
||
---|---|---|
.. | ||
build.sh | ||
cmake-curses-gui.subpackage.sh | ||
Source-cmExecProgramCommand.cxx.patch | ||
Source-cmLocalUnixMakefileGenerator3.cxx.patch |