summaryrefslogtreecommitdiff
path: root/user/ripgrep/pcre2-static.patch
blob: 180e91b681e94b688ebb16cb91a77db6ee21e00b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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;
     }