mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
991ca49961
commit
856def7bb3
1 changed files with 5 additions and 1 deletions
|
@ -510,7 +510,11 @@ (define-public ganeti
|
|||
(("\\$\\(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"
|
||||
|
|
Loading…
Reference in a new issue