diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-12-16 11:36:52 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-12-16 11:36:52 +0000 |
commit | 1c1bfbe71037e9b5a925a547e590e3628df00c7b (patch) | |
tree | 24a6b53a5a438ac19c36758b0c1ee4a56f81a40f /rts/package.conf.in | |
parent | f2bfd33806f1339ecd16eb76b0146544b65dc68e (diff) | |
download | haskell-1c1bfbe71037e9b5a925a547e590e3628df00c7b.tar.gz |
fix up libm detection and use (#3724)
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r-- | rts/package.conf.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in index 087a7e9d66..2dff1625b2 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -27,7 +27,10 @@ library-dirs: TOP"/rts/dist/build" PAPI_LIB_DIR hs-libraries: "HSrts" -extra-libraries: "m" /* for ldexp() */ +extra-libraries: +#ifdef HAVE_LIBM + "m" /* for ldexp() */ +#endif #ifdef HAVE_LIBRT , "rt" #endif |