Skip to content

Commit 1d9add0

Browse files
authored
Update to mupdf 1.26.1 (#144)
1 parent b153848 commit 1d9add0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mupdf-sys/make.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ impl Make {
4343
name: &str,
4444
pkg_config_names: &[&str],
4545
) -> Result<()> {
46-
let libs_enabled = feature_reason == SystemLib::Libs && cfg!(feature = "sys-lib");
46+
let all_enabled = feature_reason == SystemLib::Libs && cfg!(feature = "sys-lib");
4747
let feature_enabled = env::var_os(format!(
4848
"CARGO_FEATURE_SYS_LIB_{}",
4949
feature.to_ascii_uppercase()
5050
))
5151
.is_some();
52-
let enabled = feature_reason == SystemLib::Always || libs_enabled || feature_enabled;
52+
let enabled = feature_reason == SystemLib::Always || all_enabled || feature_enabled;
5353

5454
self.make_bool(&format!("USE_SYSTEM_{name}"), enabled);
5555
if !enabled {
@@ -66,8 +66,8 @@ impl Make {
6666
format!(
6767
"You have two ways of solving this problem:
6868
1. {first_solution}
69-
2. Disable the `sys-lib-{feature}` {}. This might be not what you what though, as it will statically link {pkg_config_name}.",
70-
if libs_enabled { "and `sys-lib` features" } else { "feature" },
69+
2. Disable the `sys-lib-{feature}` {}. This might not be what you what though, as it will statically link {pkg_config_name}.",
70+
if all_enabled { "and `sys-lib` features" } else { "feature" },
7171
)
7272
};
7373

mupdf-sys/mupdf

Submodule mupdf updated 148 files

0 commit comments

Comments
 (0)