From: Ian Lynagh Date: Fri, 21 Aug 2009 14:54:23 +0000 (+0000) Subject: Put "dl" back in rts/package.conf if HAVE_DL is defined X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b0ec2cb2ab74b21ea1f790c062cd213aa9d9ef02 Put "dl" back in rts/package.conf if HAVE_DL is defined Fixes linking with -dynamic --- diff --git a/rts/package.conf.in b/rts/package.conf.in index 1b37116..32bd00f 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