diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-14 01:08:35 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-14 01:08:35 +0100 |
commit | 3c45e5a0fc97a25c6743daeac9de1149322e9f9f (patch) | |
tree | 1f902819b26df7cd2ad22a8a488fd658714e4fa9 /rules | |
parent | 22df9533d0a0a51268135ce46c0ca9ffcbbaa82a (diff) | |
download | haskell-3c45e5a0fc97a25c6743daeac9de1149322e9f9f.tar.gz |
Fix installing when dynlibs-by-default
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-package-data.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk index 817128e08f..6f151a5adf 100644 --- a/rules/build-package-data.mk +++ b/rules/build-package-data.mk @@ -26,10 +26,11 @@ ifeq "$$(filter dyn,$$($1_$2_WAYS))" "dyn" $1_$2_CONFIGURE_OPTS += --enable-shared endif +$1_$2_CONFIGURE_OPTS += --disable-library-for-ghci ifeq "$$(GhcWithInterpreter)" "YES" +ifneq "$$(DYNAMIC_BY_DEFAULT)" "YES" $1_$2_CONFIGURE_OPTS += --enable-library-for-ghci -else -$1_$2_CONFIGURE_OPTS += --disable-library-for-ghci +endif endif ifeq "$$(HSCOLOUR_SRCS)" "YES" |