Skip to content
Browse files

dev-lang/ghc: USE=-shared should also disable DYNAMIC_GHC_PROGRAMS

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent 52dfed5 commit 44835b859a189ccc740c04819680c09392db7aa8 @trofi trofi committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 dev-lang/ghc/ghc-9999.ebuild
View
2 dev-lang/ghc/ghc-9999.ebuild
@@ -377,8 +377,10 @@ src_configure() {
# Experimental code. Not enabled by default in GHC yet.
if use shared; then
echo "DYNAMIC_BY_DEFAULT=YES" >> mk/build.mk
+ echo "DYNAMIC_GHC_PROGRAMS=YES" >> mk/build.mk
else
echo "DYNAMIC_BY_DEFAULT=NO" >> mk/build.mk
+ echo "DYNAMIC_GHC_PROGRAMS=NO" >> mk/build.mk
fi
if use gmp; then

0 comments on commit 44835b8

Please sign in to comment.
Something went wrong with that request. Please try again.