diff options
author | Simon Marlow <marlowsd@gmail.com> | 2013-10-08 16:58:24 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2013-10-11 10:37:01 +0100 |
commit | b9c6fd72cd8a00e7c3604567fc4170a3f6421d71 (patch) | |
tree | 92fc9e9da7944dd4189ac4dbd3bf2e1241f5a1aa /rts/ghc.mk | |
parent | 996206b15aa1d4e6d203934484b9076c4c8e1032 (diff) | |
download | haskell-b9c6fd72cd8a00e7c3604567fc4170a3f6421d71.tar.gz |
Use dynamic linking only if the GHC package is compiled with -dynamic (#8376)
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 401fe21eec..9f36811d41 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -139,6 +139,7 @@ ifneq "$$(findstring dyn, $1)" "" ifeq "$$(HostOS_CPP)" "mingw32" rts_dist_$1_CC_OPTS += -DCOMPILING_WINDOWS_DLL endif +rts_dist_$1_CC_OPTS += -DDYNAMIC endif ifneq "$$(findstring thr, $1)" "" |