summaryrefslogtreecommitdiff
path: root/user/ripgrep/pcre2-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/ripgrep/pcre2-static.patch')
-rw-r--r--user/ripgrep/pcre2-static.patch12
1 files changed, 12 insertions, 0 deletions
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;
+ }