summaryrefslogtreecommitdiff
path: root/user/ripgrep/pcre2-static.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-06-26 03:00:32 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-06-26 03:00:32 +0000
commit8706bd163d1ebbfc67d43e6c5e071561cc71292f (patch)
tree0ac5ffacca21698668923090e8c4aee96148cfec /user/ripgrep/pcre2-static.patch
parent6f8b0937d3f625ffa86c6ff2eef82ae49c2bade8 (diff)
parentb2bafb4f5a83afc6f7abb23d4816ffe2a26109a3 (diff)
downloadpackages-8706bd163d1ebbfc67d43e6c5e071561cc71292f.tar.gz
packages-8706bd163d1ebbfc67d43e6c5e071561cc71292f.tar.bz2
packages-8706bd163d1ebbfc67d43e6c5e071561cc71292f.tar.xz
packages-8706bd163d1ebbfc67d43e6c5e071561cc71292f.zip
Merge branch 'rust-utils' into 'master'
Rust utils (ripgrep, xsv, zola) Some new rust utilities that exercise @sysvinit's cargo-fu See merge request !250
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;
+ }