slackware-current/source/d/rust/link_libffi.diff
Patrick J Volkerding 91d64759d2 Fri Nov 20 02:37:23 UTC 2020
a/kernel-firmware-20201119_54c797a-noarch-1.txz:  Upgraded.
a/tcsh-6.22.03-x86_64-1.txz:  Upgraded.
d/automake-1.16.3-noarch-1.txz:  Upgraded.
d/rust-1.48.0-x86_64-1.txz:  Upgraded.
l/libcap-ng-0.8.1-x86_64-1.txz:  Upgraded.
n/libksba-1.5.0-x86_64-1.txz:  Upgraded.
2020-11-20 08:59:52 +01:00

11 lines
398 B
Diff

--- ./compiler/rustc_llvm/build.rs.orig 2020-11-16 08:01:53.000000000 -0600
+++ ./compiler/rustc_llvm/build.rs 2020-11-19 13:46:21.222785372 -0600
@@ -234,6 +234,8 @@
println!("cargo:rustc-link-lib={}={}", kind, name);
}
+ println!("cargo:rustc-link-lib=dylib=ffi");
+
// LLVM ldflags
//
// If we're a cross-compile of LLVM then unfortunately we can't trust these