From e94d97aae178abb4bf1fcc12b0634885ee636a24 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Mon, 4 Oct 2021 21:21:26 +0200 Subject: [PATCH] fix(modulo): explicitly specify built-in version of img libs on macOS --- espanso-modulo/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/espanso-modulo/build.rs b/espanso-modulo/build.rs index e1c2a4c..6694936 100644 --- a/espanso-modulo/build.rs +++ b/espanso-modulo/build.rs @@ -202,6 +202,9 @@ fn build_native() { .args(&[ "--disable-shared", "--without-libtiff", + "--without-liblzma", + "--with-libjpeg=builtin", + "--with-libpng=builtin", &format!("--enable-macosx_arch={}", target_arch), ]) .spawn()