summaryrefslogtreecommitdiff
path: root/rts/package.conf.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-21 14:54:23 +0000
committerIan Lynagh <igloo@earth.li>2009-08-21 14:54:23 +0000
commitb0ec2cb2ab74b21ea1f790c062cd213aa9d9ef02 (patch)
tree83d922afc297aa62ab3b43a7874ce62f17dbbd16 /rts/package.conf.in
parent77696536c3b0bd3e315642e642d6700c85aafa5f (diff)
downloadhaskell-b0ec2cb2ab74b21ea1f790c062cd213aa9d9ef02.tar.gz
Put "dl" back in rts/package.conf if HAVE_DL is defined
Fixes linking with -dynamic
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r--rts/package.conf.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 1b3711617f..32bd00fb89 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -30,6 +30,9 @@ extra-libraries: "m" /* for ldexp() */
#ifdef HAVE_LIBRT
, "rt"
#endif
+#ifdef HAVE_LIBDL
+ , "dl"
+#endif
#ifdef mingw32_HOST_OS
,"wsock32" /* for the linker */
#endif