[project @ 2002-02-05 17:32:24 by simonmar]
[haskell-directory.git] / core.conf.in
index 04553e5..0d17573 100644 (file)
@@ -3,7 +3,7 @@
 Package {
         name           = "core",
 #ifdef INSTALLING
-       import_dirs    = [ "$libdir/imports/core" ]
+       import_dirs    = [ "$libdir/imports" ]
 #else
        import_dirs    = [ "$libdir/libraries/core" ],
 #endif
@@ -14,10 +14,19 @@ Package {
         library_dirs   = [ "$libdir/libraries/core"
                          , "$libdir/libraries/core/cbits" ],
 #endif
-        hs_libraries      = [ "HScore" ],
+        hs_libraries      =
+#                           ifndef mingw32_TARGET_OS
+                            [ "HScore" ],
+#                           else
+                            -- This splitting is the subject of a totally 
+                            -- horrible hack, which glues HSstd1 and HSstd2 
+                            -- back into HSstd for the purposes of static linking.
+                            -- See DriverState.getPackageLibraries for details.
+                            [ "HScore1", "HScore2" ],
+#                           endif
        extra_libraries   = [ "HScore_cbits"
 #ifdef mingw32_TARGET_OS
-                            , "wsock32", "msvcrt"
+                            , "wsock32", "msvcrt", "kernel32", "user32"
 #endif
                            ],
 #ifdef INSTALLING