Looks like libarchive v3.7.3 adds support for pcre2 (https://github.com/libarchive/libarchive/commit/
d1231a7ea7df4db6ddba73f06df67dbab0174a5c).
Because of this, the following build error is observed (in the case pcre2 is compiled before libarchive):
Package libarchive is missing dependencies for the following libraries:
libpcre2-8.so.0
libpcre2-posix.so.3
So let's disable linking with pcre2, just like linking with pcre was disabled before.
Signed-off-by: Matthias FRANCK <redacted>
-DENABLE_ZSTD=OFF \
-DENABLE_LIBXML2=OFF \
-DENABLE_PCREPOSIX=OFF \
+ -DENABLE_PCRE2POSIX=OFF \
-DENABLE_LibGCC=OFF \
-DENABLE_CNG=OFF \
\