Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges committed Jan 10, 2024
1 parent 69dfa71 commit 184ef91
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 @@ -265,7 +265,7 @@ fn get_qt_lib_prefix(lib_dir: &Path, version_maj: u16) -> Result<String, Box<dyn

for prefix in &prefixes {
if contains_file_prefix(&lib_dir, prefix)? {
return Ok(prefix.clone());
return Ok(prefix.strip_prefix("lib").unwrap_or(&prefix).to_string());
}
}

Expand Down

0 comments on commit 184ef91

Please sign in to comment.