From 9a6def0cd13b916fd15d3d0c297d65c03f719725 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Fri, 21 Jun 2019 21:45:21 -0500 Subject: user/ripgrep: New package Signed-off-by: Samuel Holland --- user/ripgrep/pcre2-static.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user/ripgrep/pcre2-static.patch (limited to 'user/ripgrep/pcre2-static.patch') diff --git a/user/ripgrep/pcre2-static.patch b/user/ripgrep/pcre2-static.patch new file mode 100644 index 000000000..180e91b68 --- /dev/null +++ b/user/ripgrep/pcre2-static.patch @@ -0,0 +1,12 @@ +--- src/pcre2-sys-0.2.0/build.rs 2019-06-22 01:43:31.024909528 +0000 ++++ src/pcre2-sys-0.2.0/build.rs 2019-06-22 01:43:43.697401790 +0000 +@@ -64,8 +64,7 @@ + + // Don't link to a system library if we want a static build. + let want_static = +- env::var("PCRE2_SYS_STATIC").unwrap_or(String::new()) == "1" +- || target.contains("musl"); ++ false; + if !want_static && pkg_config::probe_library("libpcre2-8").is_ok() { + return; + } -- cgit v1.2.3-70-g09d2