From b0ec2cb2ab74b21ea1f790c062cd213aa9d9ef02 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 21 Aug 2009 14:54:23 +0000 Subject: [PATCH] Put "dl" back in rts/package.conf if HAVE_DL is defined Fixes linking with -dynamic --- rts/package.conf.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.10.4