Skip to content

Commit

Permalink
fix macos
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Nov 28, 2023
1 parent be1ff74 commit 3f5549f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,11 @@ pub fn object_to_shared_lib(object: &[u8], output_filename: &Path) -> Result<(),
"-dynamic",
"-dylib",
"-L/usr/local/lib",
"-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib",
&file.display().to_string(),
"-o",
&output_filename.display().to_string(),
"-lSystem",
]
}
#[cfg(target_os = "linux")]
Expand Down

0 comments on commit 3f5549f

Please sign in to comment.