on master help sign in
Require 'unix' library on non-Windows machines, fixes #3961
commitb9b32e5b82bc0264c77ce94330f35f254b1c9db6 authorScott Bonds <scott@ggr.com> dateWed 2 Aug 2017, 11:06 (9 years ago) parent9831b01
1 file changed+2−8
idris.cabal+2−8
idris.cabal+2−8
@@ -304,17 +304,11 @@ Library
304304
305305 ghc-prof-options: -auto-all -caf-all
306306
307− if os(linux)
308− build-depends: unix < 2.8
309− if os(freebsd)
310− build-depends: unix < 2.8
311− if os(dragonfly)
312− build-depends: unix < 2.8
313− if os(darwin)
314− build-depends: unix < 2.8
315307 if os(windows)
316308 build-depends: mintty >= 0.1 && < 0.2
317309 , Win32 < 2.4
310+ else
311+ build-depends: unix < 2.8
318312 if flag(FFI)
319313 build-depends: libffi < 0.2
320314 cpp-options: -DIDRIS_FFI