diff options
author | Ian Lynagh <igloo@earth.li> | 2009-08-21 14:54:23 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-08-21 14:54:23 +0000 |
commit | b0ec2cb2ab74b21ea1f790c062cd213aa9d9ef02 (patch) | |
tree | 83d922afc297aa62ab3b43a7874ce62f17dbbd16 | |
parent | 77696536c3b0bd3e315642e642d6700c85aafa5f (diff) | |
download | haskell-b0ec2cb2ab74b21ea1f790c062cd213aa9d9ef02.tar.gz |
Put "dl" back in rts/package.conf if HAVE_DL is defined
Fixes linking with -dynamic
-rw-r--r-- | rts/package.conf.in | 3 |
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 |