xref: /OK3568_Linux_fs/buildroot/package/lua-lunix/0002-remove-link-with-librt.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From aeaff83b9ae42547b8728edac000f3d41d5e44aa Mon Sep 17 00:00:00 2001
2From: Francois Perrad <francois.perrad@gadz.org>
3Date: Sat, 17 Jul 2021 13:21:38 +0200
4Subject: [PATCH] remove link with librt
5
6librt is not available with musl
7
8Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
9---
10 lunix-rel-20170920/lunix-20170920-1.rockspec | 10 ----------
11 1 file changed, 10 deletions(-)
12
13diff --git a/lunix-rel-20170920/lunix-20170920-1.rockspec b/lunix-rel-20170920/lunix-20170920-1.rockspec
14index 741179d..76cafeb 100644
15--- a/lunix-rel-20170920/lunix-20170920-1.rockspec
16+++ b/lunix-rel-20170920/lunix-20170920-1.rockspec
17@@ -26,16 +26,6 @@ build = {
18 		};
19 	};
20 	platforms = {
21-		linux = {
22-			modules = {
23-				["unix"] = {
24-					libraries = {
25-						-- glibc <= 2.17 needs to link with librt
26-						"rt";
27-					};
28-				};
29-			};
30-		};
31 		osx = {
32 			modules = {
33 				["unix"] = {
34--
352.30.2
36
37