Skip to content

Commit

Permalink
Fix file regeneration logic
Browse files Browse the repository at this point in the history
Fixes #441
  • Loading branch information
lu-zero committed Feb 16, 2025
1 parent 7b26933 commit adf2638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ pub fn cbuild(
for cpkg in members.iter_mut() {
// it is a new build, build the additional files and update update the cache
// if the hash value does not match.
if new_build && !cpkg.finger_print.is_valid() {
if new_build || !cpkg.finger_print.is_valid() {
let name = &cpkg.capi_config.library.name;
let (pkg_config_static_libs, static_libs) = if library_types.only_cdylib() {
(String::new(), String::new())
Expand Down

0 comments on commit adf2638

Please sign in to comment.