diff options
-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" |