Skip to content

Commit f48e17b

Browse files
committed
Turn libraryDynDirSupported back on.
Signed-off-by: Edward Z. Yang <[email protected]>
1 parent 7a224c0 commit f48e17b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Cabal/Distribution/Simple/Compiler.hs

+3-7
Original file line numberDiff line numberDiff line change
@@ -330,17 +330,13 @@ backpackSupported = ghcSupported "Support Backpack"
330330
libraryDynDirSupported :: Compiler -> Bool
331331
libraryDynDirSupported comp = case compilerFlavor comp of
332332
GHC ->
333-
-- GHC patch still hasn't landed yet. When it does, update
334-
-- this date and uncomment
335-
{-
336-
-- Not just v >= mkVersion [8,0,1,20161021], as there
333+
-- Not just v >= mkVersion [8,0,1,20161022], as there
337334
-- are many GHC 8.1 nightlies which don't support this.
338-
((v >= mkVersion [8,0,1,20161021] && v < mkVersion [8,1]) ||
335+
((v >= mkVersion [8,0,1,20161022] && v < mkVersion [8,1]) ||
339336
v >= mkVersion [8,1,20161021])
340-
-} False
341337
_ -> False
342338
where
343-
_v = compilerVersion comp
339+
v = compilerVersion comp
344340

345341
-- | Does this compiler support Haskell program coverage?
346342
coverageSupported :: Compiler -> Bool

0 commit comments

Comments
 (0)