From 944740dab9eac7fb4470cf502555734582d5ae2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Sun, 26 Nov 2017 10:23:16 +0100 Subject: [PATCH] openbsd uses libc++ now --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 9bcac70..c2361a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1525,6 +1525,8 @@ impl Build { Ok(Some("c++".to_string())) } else if target.contains("freebsd") { Ok(Some("c++".to_string())) + } else if target.contains("openbsd") { + Ok(Some("c++".to_string())) } else { Ok(Some("stdc++".to_string())) }