From 34842c2233904036511660958fbbb90c2780b236 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Wed, 26 Apr 2023 08:00:10 +0800 Subject: [PATCH] pcre2: only build static library for host Fix potential linking issue: ``` /mnt/snapshot/staging_dir/hostpkg/bin/swig: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory error: command '/mnt/snapshot/staging_dir/hostpkg/bin/swig' failed with exit code 127 ``` Signed-off-by: Tianling Shen --- libs/pcre2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pcre2/Makefile b/libs/pcre2/Makefile index 8abdd5d71..ca761cc36 100644 --- a/libs/pcre2/Makefile +++ b/libs/pcre2/Makefile @@ -57,7 +57,7 @@ define Package/libpcre2-32 endef CMAKE_HOST_OPTIONS += \ - -DBUILD_SHARED_LIBS=ON \ + -DBUILD_SHARED_LIBS=OFF \ -DPCRE2_BUILD_PCRE2_8=ON \ -DPCRE2_BUILD_PCRE2_16=ON \ -DPCRE2_BUILD_PCRE2_32=ON \