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 @@ server and embedded PowerPC, and S390 guests.")
|
||||||
(("\\$\\(GHC\\)")
|
(("\\$\\(GHC\\)")
|
||||||
"$(GHC) -package-db=../package.conf.d"))
|
"$(GHC) -package-db=../package.conf.d"))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'configure 'make-ghc-use-shared-libraries
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("HFLAGS =") "HFLAGS = -dynamic -fPIC"))
|
||||||
|
#t))
|
||||||
(add-after 'configure 'fix-installation-directories
|
(add-after 'configure 'fix-installation-directories
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
|
|
Reference in a new issue