slackware-current/testing/source/rust/link_libffi.diff
Patrick J Volkerding b3d88c8ae0 Fri Jul 14 17:53:34 UTC 2023
ap/vim-9.0.1677-x86_64-1.txz:  Upgraded.
n/nftables-1.0.8-x86_64-1.txz:  Upgraded.
x/xeyes-1.3.0-x86_64-1.txz:  Upgraded.
xap/vim-gvim-9.0.1677-x86_64-1.txz:  Upgraded.
testing/packages/rust-1.71.0-x86_64-1.txz:  Added.
2023-07-14 20:31:56 +02: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