libarchive: disable linking with pcre2
authorMatthias FRANCK <redacted>
Mon, 26 Aug 2024 19:54:23 +0000 (21:54 +0200)
committerRosen Penev <redacted>
Tue, 17 Sep 2024 12:18:11 +0000 (05:18 -0700)
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>
libs/libarchive/Makefile

index def75f73223664e825787fb0d17c720c4179d458..a0a82a08d586660ae3b718422ae97f38fc34d760 100644 (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 \
        \
git clone https://git.99rst.org/PROJECT