From: panne Date: Fri, 27 Dec 2002 11:35:16 +0000 (+0000) Subject: [project @ 2002-12-27 11:35:16 by panne] X-Git-Tag: Approx_11550_changesets_converted~1313 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=15b0ec8a5617878790f8f783c82d23f414f8c9bf;p=ghc-hetmet.git [project @ 2002-12-27 11:35:16 by panne] * Fixed non-Mac-OS-X-builds * Warning police: Fixed #includes --- diff --git a/ghc/compiler/ghci/Linker.lhs b/ghc/compiler/ghci/Linker.lhs index 3caefbb..727bfc1 100644 --- a/ghc/compiler/ghci/Linker.lhs +++ b/ghc/compiler/ghci/Linker.lhs @@ -13,7 +13,7 @@ necessary. \begin{code} -{-# OPTIONS -optc-DNON_POSIX_SOURCE #-} +{-# OPTIONS -optc-DNON_POSIX_SOURCE -#include "Linker.h" #-} module Linker ( HValue, initLinker, showLinkerState, linkLibraries, linkExpr, @@ -31,8 +31,10 @@ import ByteCodeItbls ( ItblEnv ) import ByteCodeAsm ( CompiledByteCode(..), bcoFreeNames, UnlinkedBCO(..)) import Packages -import DriverState ( v_Library_paths, v_Opt_l, - v_Cmdline_frameworks, v_Framework_paths, getStaticOpts ) +import DriverState ( v_Library_paths, v_Opt_l, getStaticOpts ) +#ifdef darwin_TARGET_OS +import DriverState ( v_Cmdline_frameworks, v_Framework_paths ) +#endif import Finder ( findModule, findLinkable ) import HscTypes import Name ( Name, nameModule, isExternalName )