1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-20 22:26:48 +01:00
slackware-current/extra/source/rust/link_libffi.diff
Patrick J Volkerding 3ceae2c6c0 Mon Dec 9 22:25:16 UTC 2024
extra/rust-for-mozilla/rust-1.83.0-x86_64-1_slack15.0.txz:  Upgraded.
2024-12-10 13:30:47 +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