mirror of https://github.com/openwrt/packages.git
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 <cnsztl@immortalwrt.org>pull/20886/head
parent
42d340bce0
commit
34842c2233
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue