Skip to content

Commit 83f07af

Browse files
committed
Fix the generated header fingerprinting logic
Fixes #387
1 parent 32ab288 commit 83f07af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build_targets.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl BuildTargets {
6868
use_meson_naming_convention: bool,
6969
) -> anyhow::Result<BuildTargets> {
7070
let pc = targetdir.join(format!("{}.pc", &capi_config.pkg_config.filename));
71-
let include = if capi_config.header.enabled {
71+
let include = if capi_config.header.enabled && capi_config.header.generation {
7272
let mut header_name = PathBuf::from(&capi_config.header.name);
7373
header_name.set_extension("h");
7474
Some(targetdir.join(&header_name))

0 commit comments

Comments
 (0)