From 1abaec1316d5244498956c42c4477952f2b12e44 Mon Sep 17 00:00:00 2001 From: German Zhivotnikov Date: Thu, 6 Sep 2018 13:33:14 +0300 Subject: [PATCH] Fix for "unknown symbol `___divmoddi4'" on 32-bit mingw builds --- foundation/foundation.cabal | 2 ++ 1 file changed, 2 insertions(+) diff --git a/foundation/foundation.cabal b/foundation/foundation.cabal index 01658e6a..fde32a7b 100644 --- a/foundation/foundation.cabal +++ b/foundation/foundation.cabal @@ -203,6 +203,8 @@ library , ghc-prim if os(windows) build-depends: Win32 + if arch(i386) + extra-libraries: gcc build-depends: basement == 0.0.8