mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
Note: Change from `cargo:rustc-link-lib=<name>` to `cargo:rustc-link-lib=dylib=<name>` was not required, just to be consistent with the rest of the build.rs. Resolves #15127 (ffi tests are no longer broken on aarch64) Resolves #17030
20 lines
825 B
Diff
20 lines
825 B
Diff
From: Jakub Jirutka <jakub@jirutka.cz>
|
|
Date: Thu, 16 Nov 2023 21:56:42 +0100
|
|
Subject: [PATCH] Link with system-provided libraries
|
|
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -217 +217 @@
|
|
-rusqlite = { version = "0.34.0", features = ["unlock_notify", "bundled", "session", "modern_sqlite", "limits"] } # "modern_sqlite": need sqlite >= 3.49.0 for some db configs
|
|
+rusqlite = { version = "0.34.0", features = ["unlock_notify", "buildtime_bindgen", "session", "modern_sqlite", "limits"] }
|
|
@@ -310 +310 @@
|
|
-zstd = "=0.13.2"
|
|
+zstd = { version = "=0.13.2", features = ["pkg-config"] }
|
|
@@ -357 +357 @@
|
|
-libffi-sys = "=3.2.0"
|
|
+libffi-sys = { version = "=3.2.0", features = ["system"] }
|
|
--- a/ext/canvas/Cargo.toml
|
|
+++ b/ext/canvas/Cargo.toml
|
|
@@ -26 +26 @@
|
|
-lcms2 = { workspace = true, features = ["static"] }
|
|
+lcms2 = { workspace = true }
|