diff --git a/src/model.rs b/src/model.rs index bb982bdae..d8d8dca09 100644 --- a/src/model.rs +++ b/src/model.rs @@ -24,7 +24,7 @@ impl Model { } pub fn lib_path(&self) -> String { - let name = self.name(); + let name = self.name().replace("-", "_"); let file = if cfg!(windows) { format!("{}.dll", name)