Skip to content

Commit 33cae23

Browse files
committed
Allow building foreign libraries on FreeBSD
1 parent f2f9250 commit 33cae23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Cabal/src/Distribution/Simple/Configure.hs

+1
Original file line numberDiff line numberDiff line change
@@ -2871,6 +2871,7 @@ checkForeignLibSupported comp platform flib = go (compilerFlavor comp)
28712871
goGhcPlatform :: Platform -> Maybe String
28722872
goGhcPlatform (Platform _ OSX) = goGhcOsx (foreignLibType flib)
28732873
goGhcPlatform (Platform _ Linux) = goGhcLinux (foreignLibType flib)
2874+
goGhcPlatform (Platform _ FreeBSD) = goGhcLinux (foreignLibType flib)
28742875
goGhcPlatform (Platform I386 Windows) = goGhcWindows (foreignLibType flib)
28752876
goGhcPlatform (Platform X86_64 Windows) = goGhcWindows (foreignLibType flib)
28762877
goGhcPlatform _ =

0 commit comments

Comments
 (0)