Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] common/build-helper/rust.sh: dynamic linking to libpcre2 even on musl
@ 2020-09-29  0:13 Logarithmus
  2020-09-29  0:25 ` [PR REVIEW] " ericonr
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Logarithmus @ 2020-09-29  0:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

There is a new pull request by Logarithmus against master on the void-packages repository

https://github.com/Logarithmus/void-packages rust-pcre-sys
https://github.com/void-linux/void-packages/pull/25182

common/build-helper/rust.sh: dynamic linking to libpcre2 even on musl
By default, `pcre2-sys` crate use static linking on `musl` targets. This patch fixes such behavior and all Rust crates will automatically use system-provided `libpcre2` on musl.

A patch file from https://github.com/void-linux/void-packages/pull/25182.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rust-pcre-sys-25182.patch --]
[-- Type: text/x-diff, Size: 660 bytes --]

From 6953175106838a0f0c95ee9291b059181d8972a0 Mon Sep 17 00:00:00 2001
From: Artur Sinila <personal@logarithmus.dev>
Date: Tue, 29 Sep 2020 02:55:05 +0300
Subject: [PATCH] common/build-helper/rust.sh: dynamic linking to libpcre2 even
 on musl targets

---
 common/build-helper/rust.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh
index a62503583f3..e086020a468 100644
--- a/common/build-helper/rust.sh
+++ b/common/build-helper/rust.sh
@@ -38,3 +38,6 @@ export SODIUM_INC_DIR="${XBPS_CROSS_BASE}/usr/lib"
 
 # openssl-sys
 export OPENSSL_NO_VENDOR=1
+
+# pcre2-sys
+export PCRE2_SYS_STATIC=0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-10-15  6:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29  0:13 [PR PATCH] common/build-helper/rust.sh: dynamic linking to libpcre2 even on musl Logarithmus
2020-09-29  0:25 ` [PR REVIEW] " ericonr
2020-09-29  0:29 ` [PR PATCH] [Updated] " Logarithmus
2020-09-29  0:32 ` Logarithmus
2020-09-29  2:34 ` ericonr
2020-10-05 14:33 ` [PR PATCH] [Updated] common/build-helper/rust.sh: dynamic linking to libpcre2 " Logarithmus
2020-10-05 15:25 ` Logarithmus
2020-10-05 15:27 ` Logarithmus
2020-10-05 15:41 ` Logarithmus
2020-10-05 18:49 ` Logarithmus
2020-10-05 18:57 ` ericonr
2020-10-06 14:30 ` sgn
2020-10-06 17:15 ` Logarithmus
2020-10-06 17:15 ` Logarithmus
2020-10-06 17:20 ` Logarithmus
2020-10-09 20:11 ` ericonr
2020-10-15  6:09 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).