From 3ef39d3cb6e480aafefef083fa656cb592d56e55 Mon Sep 17 00:00:00 2001 From: Sébastien Marie Date: Sun, 26 Nov 2017 10:08:25 +0100 Subject: make OpenBSD to use libc++ instead of (e)stdc++ --- src/libunwind/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libunwind') diff --git a/src/libunwind/build.rs b/src/libunwind/build.rs index dc1464b905b..d8457dab51b 100644 --- a/src/libunwind/build.rs +++ b/src/libunwind/build.rs @@ -27,7 +27,7 @@ fn main() { } else if target.contains("netbsd") { println!("cargo:rustc-link-lib=gcc_s"); } else if target.contains("openbsd") { - println!("cargo:rustc-link-lib=gcc"); + println!("cargo:rustc-link-lib=c++abi"); } else if target.contains("solaris") { println!("cargo:rustc-link-lib=gcc_s"); } else if target.contains("bitrig") { -- cgit 1.4.1-3-g733a5