libarchive: disable linking with pcre2

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 <matthias.franck@softathome.com>
This commit is contained in:
Matthias FRANCK authored and Rosen Penev committed 2024-09-17 05:18:11 -07:00
1 parent 50bd101f2e
commit 9cd39fbf89
1 file changed
+1
+1
View File
@@ -78,6 +78,7 @@ CMAKE_OPTIONS += \
-DENABLE_ZSTD=OFF \
-DENABLE_LIBXML2=OFF \
-DENABLE_PCREPOSIX=OFF \
-DENABLE_PCRE2POSIX=OFF \
-DENABLE_LibGCC=OFF \
-DENABLE_CNG=OFF \
\