Skip to content

Commit

Permalink
build: add FreeBSD support (#66)
Browse files Browse the repository at this point in the history
Signed-off-by: James McGeehan IV <[email protected]>
  • Loading branch information
bivsk authored Nov 10, 2023
1 parent d2d59f2 commit 666b412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn main() {
println!("cargo:rustc-link-lib=static=randomx");
} // link to RandomX

if target.contains("apple") || target.contains("android") {
if target.contains("apple") || target.contains("android") || target.contains("freebsd") {
println!("cargo:rustc-link-lib=dylib=c++");
} else if target.contains("linux") {
println!("cargo:rustc-link-lib=dylib=stdc++");
Expand Down

0 comments on commit 666b412

Please sign in to comment.