Skip to content

Commit

Permalink
Merge pull request #5907 from TravisWhitaker/foreign-lib-arch
Browse files Browse the repository at this point in the history
Foreign library support isn't a function of architecture (at least on Linux).
  • Loading branch information
23Skidoo authored Mar 8, 2019
2 parents 8aef8e6 + 580e11c commit 996e2e6
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 996e2e6

Please sign in to comment.