maybe fix build for lts-16.13
This commit is contained in:
@ -491,8 +491,8 @@ lookupPkg' p = withPkgEnvs env $ \fms -> go fms p
|
||||
#endif
|
||||
-- If we're loading dynamic libs we need the cbits to appear before the
|
||||
-- real packages.
|
||||
settings <- initSysTools (Just libdir)
|
||||
llvmConfig <- initLlvmConfig (Just libdir)
|
||||
settings <- initSysTools (libdir)
|
||||
llvmConfig <- initLlvmConfig (libdir)
|
||||
dflags <- initDynFlags $ defaultDynFlags settings llvmConfig
|
||||
libs <- mapM (findHSlib
|
||||
#if MIN_VERSION_ghc(7,8,0)
|
||||
|
@ -126,8 +126,8 @@ readBinIface' :: FilePath -> IO ModIface
|
||||
readBinIface' hi_path = do
|
||||
-- kludgy as hell
|
||||
#if MIN_VERSION_ghc(7,2,0)
|
||||
mySettings <- initSysTools (Just libdir) -- how should we really set the top dir?
|
||||
llvmConfig <- initLlvmConfig (Just libdir)
|
||||
mySettings <- initSysTools (libdir) -- how should we really set the top dir?
|
||||
llvmConfig <- initLlvmConfig (libdir)
|
||||
dflags <- initDynFlags (defaultDynFlags mySettings llvmConfig)
|
||||
e <- newHscEnv dflags
|
||||
#else
|
||||
|
Reference in New Issue
Block a user