meson rebuild

This commit is contained in:
Rmys
2021-10-23 21:27:59 +03:00
committed by GitHub
parent 7c6741b9e5
commit 36a2cc27fe
2 changed files with 24 additions and 2 deletions
@@ -0,0 +1,22 @@
From 7ad54cce49ce22b063e0cd56edb4b7f722dc5e8e Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Wed, 29 Sep 2021 14:20:53 +0200
Subject: [PATCH] tests/rust: add libm to fix build with rust 1.55
Fixes #9309
---
test cases/rust/5 polyglot static/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/test cases/rust/5 polyglot static/meson.build b/test cases/rust/5 polyglot static/meson.build
index de2e61bcbc3..a6e9550b6e2 100644
--- a/test cases/rust/5 polyglot static/meson.build
+++ b/test cases/rust/5 polyglot static/meson.build
@@ -2,6 +2,7 @@ project('static rust and c polyglot executable', 'c', 'rust')
deps = [
meson.get_compiler('c').find_library('dl', required: false),
+ meson.get_compiler('c').find_library('m', required: false),
dependency('threads'),
]
+2 -2
View File
@@ -18,7 +18,7 @@
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">212a05b8.patch</Patch-->
<Patch level="1">meson-tests-rust-add-libm.patch</Patch>
</Patches>
</Source>
<Package>
@@ -39,7 +39,7 @@
</Package>
<History>
<Update release="22">
<Date>2021-10-23</Date>
<Date>2021-10-22</Date>
<Version>0.59.2</Version>
<Comment>Rebuild py3.</Comment>
<Name>Mustafa Cinasal</Name>