Skip to content

Commit

Permalink
Update zng/cc.rs
Browse files Browse the repository at this point in the history
Co-authored-by: wcampbell <[email protected]>
  • Loading branch information
Jake-Shadle and wcampbell0x2a authored Feb 7, 2024
1 parent 168dd2c commit 188f4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zng/cc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn strip_symbol_prefix(input: &Path, output: &Path, get_version: bool) -> String
write(&[IoSlice::new(line.as_bytes()), IoSlice::new(b"\n")]);
}

if get_version {
if version.is_none() && get_version {
if line.contains("ZLIBNG_VERSION") && line.contains("#define") {
version = Some(line.split('"').nth(1).unwrap().to_owned());
}
Expand Down

0 comments on commit 188f4dd

Please sign in to comment.