0002-remove-link-with-librt.patch 900 B

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