BurntSushi/rust-pcre2

Statically link against the existing PCRE2 library as reported by pkg-config

Open

#19 geöffnet am 22. Feb. 2021

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (40 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (63 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide