diff --git a/__test__/snapshots/draw-image-svg-noto-emoji.png b/__test__/snapshots/draw-image-svg-noto-emoji.png index 9d235b44..58f6ffe4 100644 Binary files a/__test__/snapshots/draw-image-svg-noto-emoji.png and b/__test__/snapshots/draw-image-svg-noto-emoji.png differ diff --git a/__test__/snapshots/svg-transparent-background.png b/__test__/snapshots/svg-transparent-background.png index 733ef28f..7f103641 100644 Binary files a/__test__/snapshots/svg-transparent-background.png and b/__test__/snapshots/svg-transparent-background.png differ diff --git a/__test__/snapshots/transform-with-radial-gradient-x.png b/__test__/snapshots/transform-with-radial-gradient-x.png index 39ba478d..247ea223 100644 Binary files a/__test__/snapshots/transform-with-radial-gradient-x.png and b/__test__/snapshots/transform-with-radial-gradient-x.png differ diff --git a/build.rs b/build.rs index 69f1c429..f71b92b8 100644 --- a/build.rs +++ b/build.rs @@ -154,7 +154,9 @@ fn main() { .static_crt(true); } "linux" => { - println!("cargo:rustc-cdylib-link-arg=-Wl,--allow-multiple-definition"); + if compile_target_arch != "arm" { + println!("cargo:rustc-cdylib-link-arg=-Wl,--allow-multiple-definition"); + } if compile_target_env != "gnu" { build.cpp_set_stdlib("stdc++"); } else { @@ -221,6 +223,6 @@ fn main() { println!("cargo:rustc-link-search={skia_lib_dir}"); println!("cargo:rustc-link-search={}", &out_dir); - println!("cargo:rustc-link-lib=skshaper"); + println!("cargo:rustc-link-lib=static=skshaper"); napi_build::setup(); } diff --git a/scripts/release-skia-binary.js b/scripts/release-skia-binary.js index af486de9..8c406a49 100644 --- a/scripts/release-skia-binary.js +++ b/scripts/release-skia-binary.js @@ -119,6 +119,7 @@ async function download() { }) for (const lib of LIB) { const { downloadUrl, binary } = libPath(lib, PLATFORM_NAME, TARGET_TRIPLE) + console.info(`downloading ${downloadUrl} to ${binary}`) execSync(`curl -J -L -H "Accept: application/octet-stream" ${downloadUrl} -o ${binary}`, { stdio: 'inherit', })