slackware-current/testing/source/rust/link_libffi.diff
Patrick J Volkerding daaabd8ee2 Fri Oct 4 21:35:49 UTC 2019
a/pkgtools-15.0-noarch-24.txz:  Rebuilt.
  installpkg: support --no-overwrite option for upgradepkg's second install
  pass. Don't use this option directly unless you have a good reason.
  upgradepkg: call installpkg with --no-overwrite for the second install pass.
  This cuts the drive writes for a package upgrade almost in half so we can
  be kinder to SSDs.
ap/nano-4.5-x86_64-1.txz:  Upgraded.
l/gmime-3.2.4-x86_64-1.txz:  Upgraded.
l/gnu-efi-3.0.10-x86_64-1.txz:  Upgraded.
l/gtk+3-3.24.12-x86_64-1.txz:  Upgraded.
testing/packages/rust-1.38.0-x86_64-2.txz:  Rebuilt.
  The package size here has been put on a tremendous diet.
  Thanks to Andrew Clemons and Willy Sudiarto Raharjo for help with this.
  Compile test results:
  firefox-68.1.0esr: fail
  firefox-69.0.2: pass
  seamonkey-2.49.5: pass
  thunderbird-68.1.1: fail
2019-10-05 08:59:49 +02:00

12 lines
526 B
Diff

diff -Naur rustc-1.21.0-src.bak/src/librustc_llvm/build.rs rustc-1.21.0-src/src/librustc_llvm/build.rs
--- rustc-1.21.0-src.bak/src/librustc_llvm/build.rs 2017-10-10 09:04:51.000000000 +1300
+++ rustc-1.21.0-src/src/librustc_llvm/build.rs 2017-10-14 15:28:56.761081727 +1300
@@ -221,6 +221,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