diff options
author | Clemens Fruhwirth <clemens@endorphin.org> | 2008-01-01 15:40:17 +0000 |
---|---|---|
committer | Clemens Fruhwirth <clemens@endorphin.org> | 2008-01-01 15:40:17 +0000 |
commit | 086bab42386098009471c46139013c41f40856a2 (patch) | |
tree | ee2eaf044b75c66ab44a877e0ce7cc1b50253b5e /rts/PrimOps.cmm | |
parent | a759dad95859bf3be8eeb0ed18baeb67397a0795 (diff) | |
download | haskell-086bab42386098009471c46139013c41f40856a2.tar.gz |
Link libgmp.a statically into libHSrts.dll on Windows
Diffstat (limited to 'rts/PrimOps.cmm')
-rw-r--r-- | rts/PrimOps.cmm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm index 373f1925c3..06628b96f8 100644 --- a/rts/PrimOps.cmm +++ b/rts/PrimOps.cmm @@ -28,6 +28,7 @@ #include "Cmm.h" #ifdef __PIC__ +#ifndef mingw32_HOST_OS import __gmpz_init; import __gmpz_add; import __gmpz_sub; @@ -44,6 +45,7 @@ import __gmpz_and; import __gmpz_xor; import __gmpz_ior; import __gmpz_com; +#endif import base_GHCziIOBase_NestedAtomically_closure; import pthread_mutex_lock; import pthread_mutex_unlock; |