From: ken Date: Tue, 24 Jul 2001 05:07:37 +0000 (+0000) Subject: [project @ 2001-07-24 05:07:37 by ken] X-Git-Tag: Approximately_9120_patches~1445 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c82797403c38487a95452471653dcc1e6149a6e6;p=ghc-hetmet.git [project @ 2001-07-24 05:07:37 by ken] Added -lm to the extra_libraries list for the rts package. This is because ldexp() is used by StgPrimFloat.c and is in -lm on alpha-osf3. --- diff --git a/ghc/driver/PackageSrc.hs b/ghc/driver/PackageSrc.hs index 52f453c..85f56cc 100644 --- a/ghc/driver/PackageSrc.hs +++ b/ghc/driver/PackageSrc.hs @@ -65,7 +65,7 @@ package_details installing else [ ghc_src_dir cGHC_RUNTIME_DIR ], hs_libraries = [ "HSrts" ], #ifndef mingw32_TARGET_OS - extra_libraries = [], + extra_libraries = [ "m" ], -- libm, that is, for ldexp() #else extra_libraries = [ "winmm", "wsock32" ], -- winmm for the threadDelay timer, wsock32 for the linker #endif