Put "dl" back in rts/package.conf if HAVE_DL is defined
authorIan Lynagh <igloo@earth.li>
Fri, 21 Aug 2009 14:54:23 +0000 (14:54 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 21 Aug 2009 14:54:23 +0000 (14:54 +0000)
Fixes linking with -dynamic

rts/package.conf.in

index 1b37116..32bd00f 100644 (file)
@@ -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