BurntSushi/rust-pcre2
在 GitHub 查看Statically link against the existing PCRE2 library as reported by pkg-config
Open
#19 建立於 2021年2月22日
enhancementhelp wanted
倉庫指標
- Star
- (63 star)
- PR 合併指標
- (30 天內沒有已合併 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.