X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FDriverState.hs;h=01b03e890afc2b380f2f6e766597e1a0b0fc9903;hb=2dbdd850a75eba264f1f362fd80aac3527ce141e;hp=109146ff4b73136250f860366a801a8d52e2eaf6;hpb=eb2a3ce7eae091dedfcb790845c5cac5ccd32033;p=ghc-hetmet.git diff --git a/ghc/compiler/main/DriverState.hs b/ghc/compiler/main/DriverState.hs index 109146f..01b03e8 100644 --- a/ghc/compiler/main/DriverState.hs +++ b/ghc/compiler/main/DriverState.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: DriverState.hs,v 1.72 2002/03/15 13:57:31 simonmar Exp $ +-- $Id: DriverState.hs,v 1.73 2002/03/29 20:14:31 krasimir Exp $ -- -- Settings for the driver -- @@ -497,6 +497,7 @@ getPackageLibraries = do -- See driver/PackageSrc.hs for the HSbase1/HSbase2 split definition. -- THIS IS A STRICTLY TEMPORARY HACK (famous last words ...) -- JRS 04 Sept 01: Same appalling hack for HSwin32[1,2] + -- KAA 29 Mar 02: Same appalling hack for HSobjectio[1,2,3,4] hACK libs # ifndef mingw32_TARGET_OS = libs @@ -507,6 +508,9 @@ getPackageLibraries = do if "HSwin321" `elem` libs && "HSwin322" `elem` libs then "HSwin32" : filter (not.(isPrefixOf "HSwin32")) libs else + if "HSobjectio1" `elem` libs && "HSobjectio2" `elem` libs && "HSobjectio3" `elem` libs && "HSobjectio4" `elem` libs + then "HSobjectio" : filter (not.(isPrefixOf "HSobjectio")) libs + else libs # endif