diff options
author | Timothy Sample <samplet@ngyro.com> | 2020-08-19 23:40:04 -0400 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2020-08-19 23:58:47 -0400 |
commit | 856def7bb3b4af85a1325bc732e81d705156a482 (patch) | |
tree | f1e6164315afcfacc8b25988e24c07ab0a75af78 | |
parent | 991ca49961d1066f7890644a40d629aca944f5b9 (diff) | |
download | guix-856def7bb3b4af85a1325bc732e81d705156a482.tar.gz |
gnu: ganeti: Tell GHC to use shared libraries.
Fixes <https://bugs.gnu.org/42934>. Reported by Marius Bakke <marius@gnu.org>. * gnu/packages/virtualization.scm (ganeti)[arguments]: Add a phase that tells GHC to use shared libraries.
-rw-r--r-- | gnu/packages/virtualization.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index d0223bce3d..dbd165dbfc 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -510,7 +510,11 @@ server and embedded PowerPC, and S390 guests.") (("\\$\\(GHC\\)") "$(GHC) -package-db=../package.conf.d")) #t)) - + (add-after 'configure 'make-ghc-use-shared-libraries + (lambda _ + (substitute* "Makefile" + (("HFLAGS =") "HFLAGS = -dynamic -fPIC")) + #t)) (add-after 'configure 'fix-installation-directories (lambda _ (substitute* "Makefile" |