We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e517bf8 commit 67bc7dcCopy full SHA for 67bc7dc
1 file changed
src/rust_src/build.rs
@@ -47,7 +47,7 @@ fn main() {
47
])
48
.status();
49
if status.is_err() || !status.unwrap().success() {
50
- let status = std::process::Command::new("gcc")
+ let status = std::process::Command::new("cc")
51
.args([
52
"-shared", "-O2",
53
"-o", loader_dll.to_str().unwrap(),
@@ -62,7 +62,7 @@ fn main() {
62
}
63
} else if is_macos {
64
let loader_dylib = base_dir.join("libring_python.dylib");
65
66
67
"-shared", "-fPIC", "-O2",
68
"-install_name", "@rpath/libring_python.dylib",
@@ -80,7 +80,7 @@ fn main() {
80
// Linux, FreeBSD, etc.
81
let loader_so = base_dir.join("libring_python.so");
82
std::fs::create_dir_all(&base_dir).ok();
83
84
85
86
"-Wl,-soname,libring_python.so",
0 commit comments