From d5dc360ccf31a2945dbeabd31fc9e7372f577a6f Mon Sep 17 00:00:00 2001
From: Patrick Palka <patrick@parcs.ath.cx>
Date: Thu, 1 Nov 2012 15:39:21 -0400
Subject: [PATCH 1/2] Typo in compiler/ghci/Linker.lhs
The GHCi linker state wasn't being properly updated after an
object was linked via the system linker.
---
compiler/ghci/Linker.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/ghci/Linker.lhs b/compiler/ghci/Linker.lhs
index 3ba9c3c..16bf7fd 100644
|
a
|
b
|
|
| 793 | 793 | |
| 794 | 794 | if dYNAMIC_BY_DEFAULT dflags |
| 795 | 795 | then do dynLoadObjs dflags wanted_objs |
| 796 | | return (pls, Succeeded) |
| | 796 | return (pls1, Succeeded) |
| 797 | 797 | else do mapM_ loadObj wanted_objs |
| 798 | 798 | |
| 799 | 799 | -- Link them all together |