GNU bug report logs -
#38552
[PATCH 0/1] Dynamically-link Ruby
Previous Next
Reported by: Brett Gilio <brettg <at> posteo.net>
Date: Mon, 9 Dec 2019 20:54:01 UTC
Severity: normal
Tags: patch
Done: Brett Gilio <brettg <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 38552 <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-ruby-Configure-for-dynamic-linking.patch (text/x-patch, inline)]
From 36e56ea5d882d112f24d49050813066eece98af2 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg <at> posteo.net>
Date: Mon, 9 Dec 2019 14:46:47 -0600
Subject: [PATCH 1/1] gnu: ruby: Configure for dynamic linking.
To: guix-patches <at> gnu.org
* gnu/packages/ruby.scm (ruby)[arguments]: Use #:configure-flags to properly
enable dynamic linking instead of using libruby-static.a. Solves #38500.
Reported-by: Vicente Eduardo <vic798 <at> gmail.com>
---
gnu/packages/ruby.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 70b59e9156..a4b9bc6968 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2019 Brian Leung <bkleung89 <at> gmail.com>
;;; Copyright © 2019 Collin J. Doering <collin <at> rekahsoft.ca>
;;; Copyright © 2019 Diego N. Barbato <dnbarbato <at> posteo.de>
+;;; Copyright © 2019 Brett Gilio <brettg <at> posteo.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -95,6 +96,7 @@
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
+ #:configure-flags '("--enable-shared") ; dynamic linking
#:phases
(modify-phases %standard-phases
(add-before 'configure 'replace-bin-sh-and-remove-libffi
--
2.24.0
This bug report was last modified 5 years and 163 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.