Skip to content

Commit

Permalink
Foreign library support isn't a function of architecture (at least on…
Browse files Browse the repository at this point in the history
… Linux).
  • Loading branch information
TravisWhitaker committed Mar 5, 2019
1 parent 1907a08 commit 580e11c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cabal/Distribution/Simple/Configure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2007,8 +2007,7 @@ checkForeignLibSupported comp platform flib = go (compilerFlavor comp)

goGhcPlatform :: Platform -> Maybe String
goGhcPlatform (Platform X86_64 OSX ) = goGhcOsx (foreignLibType flib)
goGhcPlatform (Platform I386 Linux ) = goGhcLinux (foreignLibType flib)
goGhcPlatform (Platform X86_64 Linux ) = goGhcLinux (foreignLibType flib)
goGhcPlatform (Platform _ Linux ) = goGhcLinux (foreignLibType flib)
goGhcPlatform (Platform I386 Windows) = goGhcWindows (foreignLibType flib)
goGhcPlatform (Platform X86_64 Windows) = goGhcWindows (foreignLibType flib)
goGhcPlatform _ = unsupported [
Expand Down

0 comments on commit 580e11c

Please sign in to comment.