pcre2: only build static library for host
authorTianling Shen <cnsztl@immortalwrt.org>
Wed, 26 Apr 2023 00:00:10 +0000 (08:00 +0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 26 Apr 2023 07:51:57 +0000 (10:51 +0300)
commit34842c2233904036511660958fbbb90c2780b236
tree0de0bf3295497da1de3a1899d6995a467d6e2744
parent42d340bce0106538888f9e942dc3dd6f7f9e62ff
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>
libs/pcre2/Makefile