Skip to content

Commit

Permalink
Fix the generated header fingerprinting logic
Browse files Browse the repository at this point in the history
Fixes #387
  • Loading branch information
lu-zero committed Jun 30, 2024
1 parent 32ab288 commit 1e0dbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_targets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl BuildTargets {
use_meson_naming_convention: bool,
) -> anyhow::Result<BuildTargets> {
let pc = targetdir.join(format!("{}.pc", &capi_config.pkg_config.filename));
let include = if capi_config.header.enabled {
let include = if capi_config.header.enabled && capi_config.header.generation {
let mut header_name = PathBuf::from(&capi_config.header.name);
header_name.set_extension("h");
Some(targetdir.join(&header_name))
Expand Down

0 comments on commit 1e0dbc1

Please sign in to comment.