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.master
parent
991ca49961
commit
856def7bb3
|
@ -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"
|
||||
|
|
Reference in New Issue