Put "dl" back in rts/package.conf if HAVE_DL is defined
[ghc-hetmet.git] / rts / package.conf.in
index a49cee6..32bd00f 100644 (file)
@@ -1,7 +1,7 @@
 /* The RTS is just another package! */
 
 #include "ghcconfig.h"
-#include "RtsConfig.h"
+#include "rts/Config.h"
 
 name:          rts
 version:       1.0
@@ -30,12 +30,12 @@ extra-libraries:            "m"             /* for ldexp() */
 #ifdef HAVE_LIBRT
                              , "rt"
 #endif
+#ifdef HAVE_LIBDL
+                             , "dl"
+#endif
 #ifdef mingw32_HOST_OS
                              ,"wsock32"        /* for the linker */
 #endif
-#ifdef WANT_DOTNET_SUPPORT
-                             , "oleaut32", "ole32", "uuid"
-#endif
 #if defined(DEBUG) && defined(HAVE_LIBBFD)
                              ,"bfd", "iberty"  /* for debugging */
 #endif