[project @ 2000-04-26 15:35:25 by simonmar]
[ghc-hetmet.git] / ghc / driver / ghc.lprl
index 34db5eb..a6ff27c 100644 (file)
@@ -1144,7 +1144,6 @@ sub setupIncPaths {
       push (@Include_dir, "$TopPwd/${CURRENT_DIR}/${GHC_INCLUDE_DIR}");
   } else {
       push (@Include_dir, "$InstLibDirGhc/includes");
-      push (@Include_dir, "$InstLibDirGhc/includes");
   }
 } # end of setupIncPaths
 \end{code}
@@ -1413,7 +1412,7 @@ Again, we'll do the post-recompilation-checker parts of this later.
                             ( $HscLang eq 'java' ) ? "java" : 
                                "" ;
     
-    local($hsc_out)       = $Tmp_prefix.$hsc_out_suffix ;
+    local($hsc_out)       = "$Tmp_prefix.$hsc_out_suffix" ;
     local($hsc_out_c_stub) = ( $HscLang eq 'C' ) ? "${Tmp_prefix}_stb.c" : "";
     local($hsc_out_h_stub) = ( $HscLang eq 'C' ) ? "${Tmp_prefix}_stb.h" : "";
 
@@ -2650,7 +2649,7 @@ sub add_syslib {
        , 'lang concurrent posix' # Syslib dependencies
        , ''     # extra ghc opts
        , ''     # extra cc opts
-       , ''     # extra ld opts
+       , "$LibsReadline"     # extra ld opts
        ],
 
        win32,