[commit: ghc] wip/T9281: Explicitly link against `libm` (237462c)

git at git.haskell.org git at git.haskell.org
Wed Jul 23 14:08:15 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T9281
Link       : http://ghc.haskell.org/trac/ghc/changeset/237462c166a8ae7ca733bc755334c2cf47c2fc49/ghc

>---------------------------------------------------------------

commit 237462c166a8ae7ca733bc755334c2cf47c2fc49
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Jul 23 16:07:40 2014 +0200

    Explicitly link against `libm`
    
    This may be required on platforms such as Windows


>---------------------------------------------------------------

237462c166a8ae7ca733bc755334c2cf47c2fc49
 libraries/integer-gmp2/integer-gmp2.cabal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/integer-gmp2/integer-gmp2.cabal b/libraries/integer-gmp2/integer-gmp2.cabal
index de93305..ac4ba7e 100644
--- a/libraries/integer-gmp2/integer-gmp2.cabal
+++ b/libraries/integer-gmp2/integer-gmp2.cabal
@@ -38,7 +38,7 @@ library
     -- cbits/primops.cmm
     cbits/wrappers.c
 
-  extra-libraries: gmp
+  extra-libraries: gmp m
 
   exposed-modules:
     GHC.Integer



More information about the ghc-commits mailing list