Statically link against the existing PCRE2 library as reported by pkg-config
#19 opened on 2021年2月22日
Repository metrics
- Stars
- (63 stars)
- PR merge metrics
- (30d に merged PR はありません)
説明
By referring to the comments of pcre2-sys/build.rs, it appears to me that statically linking against an existing PCRE library is not supported yet. https://github.com/BurntSushi/rust-pcre2/blob/710307d8e13d3f5a674661206f55528032e607b3/pcre2-sys/build.rs#L3-L9
I would like to ask for supporting linking ripgrep to a PCRE static library.
Here is my use case: I built HAProxy, ripgrep, and other stuff inside a docker image.
As the HAProxy was built with the latest PCRE2 library statically bounded, I naturally expect that the ripgrep could be bounded with the same library to cut off the compilation time and benefit from bumping of dependencies.