Kaynağa Gözat

build: c++ linkage under freebsd

darkfi 1 yıl önce
ebeveyn
işleme
2a032331d8
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      build.rs

+ 2 - 0
build.rs

@@ -52,6 +52,8 @@ fn main() {
         println!("cargo:rustc-link-lib=dylib=c++");
     } else if target.contains("linux") {
         println!("cargo:rustc-link-lib=dylib=stdc++");
+    } else if target.contains("freebsd") {
+        println!("cargo:rustc-link-lib=dylib=c++");
     } else {
         unimplemented!()
     }