Put "dl" back in rts/package.conf if HAVE_DL is defined
[ghc-hetmet.git] / 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