Skip to content
Snippets Groups Projects
Commit 2410e75d authored by Sebastian Dröge's avatar Sebastian Dröge :tea: Committed by GStreamer Marge Bot
Browse files

cargo-c: Update to 0.9.26

Part-of: <!1280>
parent 3407b295
No related branches found
No related tags found
1 merge request!1280Update to Rust 1.73 and cargo-c 0.9.26
Checking pipeline status
......@@ -2,11 +2,11 @@
class Recipe(recipe.Recipe):
name = 'cargo-c'
version = '0.9.24'
version = '0.9.26'
stype = SourceType.TARBALL
btype = BuildType.CARGO
url = 'https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.9.24.tar.gz'
tarball_checksum = '32f2f5c802c01c51cf93471fcf876d0cc68edbc31d22005b9f07e4549d5b98b1'
url = 'https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.9.26.tar.gz'
tarball_checksum = '6101c4f1d6b17f6b42982dd908f194493e966a91d5a3cf9c210c65dbf66683b3'
tarball_dirname = '%(name)s-%(version)s'
# Get this from the release page on github
cargo_lock = f'{name}/{version}-Cargo.lock'
......
From 18348bd65ce67bcd6f85e309f126792a96732943 Mon Sep 17 00:00:00 2001
From 67a5aa982df5bdc9bd73d0e465ef141895e7575f Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Thu, 1 Sep 2022 21:33:29 +0530
Subject: [PATCH] Fix linking with Android NDK linker
......@@ -10,11 +10,11 @@ the other linker arguments passed by cargo do not have a -Wl prefix.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/target.rs b/src/target.rs
index 0cc2018..4c9d369 100644
index 975fde5..e1d5a58 100644
--- a/src/target.rs
+++ b/src/target.rs
@@ -70,7 +70,7 @@ impl Target {
let env = &self.env;
@@ -76,7 +76,7 @@ impl Target {
};
if os == "android" {
- lines.push(format!("-Wl,-soname,lib{lib_name}.so"));
......@@ -23,5 +23,5 @@ index 0cc2018..4c9d369 100644
|| os == "freebsd"
|| os == "dragonfly"
--
2.39.1
2.41.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment