me
/
guix
Archived
1
0
Fork 0

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
Timothy Sample 2020-08-19 23:40:04 -04:00
parent 991ca49961
commit 856def7bb3
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 5 additions and 1 deletions

View File

@ -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"