No changes intended on other platforms, the configure script arguments should be identical to those previously found in config.toml. Doing it this way makes it a lot easier to have per-OS configuration.
18 lines
703 B
Rust
18 lines
703 B
Rust
$NetBSD: patch-src_libstd_build.rs,v 1.1 2017/11/16 19:48:24 jperkin Exp $
|
|
|
|
SunOS support:
|
|
- Support PKGSRC_USE_SSP (ugly for now).
|
|
- Add libumem support.
|
|
|
|
--- src/libstd/build.rs.orig 2017-10-09 20:04:51.000000000 +0000
|
|
+++ src/libstd/build.rs
|
|
@@ -46,6 +46,9 @@ fn main() {
|
|
println!("cargo:rustc-link-lib=posix4");
|
|
println!("cargo:rustc-link-lib=pthread");
|
|
println!("cargo:rustc-link-lib=resolv");
|
|
+ // pkgsrc hack until I can figure out how to pass it through properly
|
|
+ println!("cargo:rustc-link-lib=ssp");
|
|
+ println!("cargo:rustc-link-lib=umem");
|
|
} else if target.contains("apple-darwin") {
|
|
println!("cargo:rustc-link-lib=System");
|
|
|