aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorBrett Gilio <brettg@posteo.net>2019-12-09 14:46:47 -0600
committerBrett Gilio <brettg@posteo.net>2019-12-12 21:42:39 -0600
commitfd248cb815d571043c3a0c52a01c9b3e368a069e (patch)
treec821fdb4fe8184720f0f26a115a5593f21ba9512 /gnu/packages/ruby.scm
parent2c267e630086caaa141957ddd9cdf14205b2759c (diff)
downloadguix-fd248cb815d571043c3a0c52a01c9b3e368a069e.tar.gz
guix-fd248cb815d571043c3a0c52a01c9b3e368a069e.zip
gnu: ruby: Configure for dynamic linking.
* gnu/packages/ruby.scm (ruby)[arguments]: Use #:configure-flags to properly enable dynamic linking instead of using libruby-static.a. Fixes #38500: <https://bugs.gnu.org/38500> Reported-by: Vicente Eduardo <vic798@gmail.com>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e1d69f9655..d30ee415c4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
;;; Copyright © 2019 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2019 Diego N. Barbato <dnbarbato@posteo.de>
+;;; Copyright © 2019 Brett Gilio <brettg@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