Skip to content

Commit

Permalink
Merge pull request #222 from KonstantinDjairo/patch-1
Browse files Browse the repository at this point in the history
freebsd support for building sudachi
  • Loading branch information
mh-northlander authored May 30, 2024
2 parents 7144356 + 26ce57f commit 100f206
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sudachi/src/plugin/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ struct PluginLoader<'a, 'b, T: PluginCategory + ?Sized> {
plugins: Vec<<T as PluginCategory>::BoxType>,
}

#[cfg(target_os = "freebsd")]
fn make_system_specific_name(s: &str) -> String {
format!("lib{}.so", s)
}

#[cfg(target_os = "linux")]
fn make_system_specific_name(s: &str) -> String {
format!("lib{}.so", s)
Expand Down

0 comments on commit 100f206

Please sign in to comment.