[project @ 1999-09-17 11:38:18 by sof]
authorsof <unknown>
Fri, 17 Sep 1999 11:38:18 +0000 (11:38 +0000)
committersof <unknown>
Fri, 17 Sep 1999 11:38:18 +0000 (11:38 +0000)
Consistently use .dll_o for toplevel object files that are to be included with all DLL-based apps

ghc/driver/ghc.lprl

index 481636a..9d395ba 100644 (file)
@@ -2009,8 +2009,8 @@ sub prepareWin32DllLink ()
          }
          push(@Link_file, ( $INSTALLING ) ? "$InstLibDirGhc/Main.dll_o"
                                          : "$TopPwd/$CURRENT_DIR/$GHC_RUNTIME_DIR/Main.dll_o") if $linking_main;
-         push(@Link_file, ( $INSTALLING ) ? "$InstLibDirGhc/PrelMain.o"
-                                         : "$TopPwd/$CURRENT_DIR/$GHC_LIB_DIR/PrelMain.o") if $linking_main;
+         push(@Link_file, ( $INSTALLING ) ? "$InstLibDirGhc/PrelMain.dll_o"
+                                         : "$TopPwd/$CURRENT_DIR/$GHC_LIB_DIR/std/PrelMain.dll_o") if $linking_main;
        }
        push(@Ld_flags,  "-mno-cygwin");
     }