From 898eb1d85b2a77831c80e68f6e66cbb46a5dc2c9 Mon Sep 17 00:00:00 2001
From: Patrick Palka <patrick@parcs.ath.cx>
Date: Thu, 1 Nov 2012 16:09:23 -0400
Subject: [PATCH 2/2] Don't call the system linker if no objects need linking
(#7382)
---
compiler/ghci/Linker.lhs | 1 +
1 file changed, 1 insertion(+)
diff --git a/compiler/ghci/Linker.lhs b/compiler/ghci/Linker.lhs
index 16bf7fd..f77b5af 100644
|
a
|
b
|
|
| 808 | 808 | return (pls2, Failed) |
| 809 | 809 | |
| 810 | 810 | dynLoadObjs :: DynFlags -> [FilePath] -> IO () |
| | 811 | dynLoadObjs _ [] = return () |
| 811 | 812 | dynLoadObjs dflags objs = do |
| 812 | 813 | let platform = targetPlatform dflags |
| 813 | 814 | soFile <- newTempName dflags (soExt platform) |