diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index bda22fca964177e058dc8656a0b05f1a310a6945..c6d21f8ca0f4d9977c830fa95f4e86fed192bb93 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -1502,7 +1502,7 @@ Now the Haskell compiler, C compiler, and assembler } if (-f $hsc_out_h_stub) { - &run_something("mv $hsc_out_h_stub $ofile_h_stub_target", 'Copy foreign export header file'); + &run_something("cp $hsc_out_h_stub $ofile_h_stub_target", 'Copy foreign export header file'); } if (-f $hsc_out_c_stub) {