Skip to content

Commit abb5ec4

Browse files
committed
Fix file regeneration logic
Fixes #441
1 parent 90c6024 commit abb5ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ pub fn cbuild(
11891189
for cpkg in members.iter_mut() {
11901190
// it is a new build, build the additional files and update update the cache
11911191
// if the hash value does not match.
1192-
if new_build && !cpkg.finger_print.is_valid() {
1192+
if new_build || !cpkg.finger_print.is_valid() {
11931193
let name = &cpkg.capi_config.library.name;
11941194
let (pkg_config_static_libs, static_libs) = if library_types.only_cdylib() {
11951195
(String::new(), String::new())

0 commit comments

Comments
 (0)