summaryrefslogtreecommitdiff
path: root/mk/build.mk.sample
diff options
context:
space:
mode:
Diffstat (limited to 'mk/build.mk.sample')
-rw-r--r--mk/build.mk.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 5b61d16f4b..b43ef94dc8 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -40,6 +40,10 @@ GhcHcOpts = -Rghc-timing
GhcLibHcOpts = -O2 -XGenerics
GhcLibWays += p
+ifeq "$(PlatformSupportsSharedLibs)" "YES"
+GhcLibWays += dyn
+endif
+
endif
# -------- A Fast build ------------------------------------------------------