X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fpackage.conf.in;h=2c9d7b4eb1f325872f7608f37164e22b0b5df32e;hb=587a2822423134f38ceb45493f31c996a647439c;hp=087a7e9d66e7134325347863a8e2475841482c22;hpb=d64900abb0ddc2f2ab52948cc274f2adc864a6dc;p=ghc-hetmet.git diff --git a/rts/package.conf.in b/rts/package.conf.in index 087a7e9..2c9d7b4 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -17,17 +17,16 @@ import-dirs: #ifdef INSTALLING library-dirs: LIB_DIR PAPI_LIB_DIR -# ifdef mingw32_HOST_OS - , LIB_DIR"/gcc-lib" - /* force the dist-provided gcc-lib/ into scope. */ -# endif #else /* !INSTALLING */ library-dirs: TOP"/rts/dist/build" PAPI_LIB_DIR #endif hs-libraries: "HSrts" -extra-libraries: "m" /* for ldexp() */ +extra-libraries: +#ifdef HAVE_LIBM + "m" /* for ldexp() */ +#endif #ifdef HAVE_LIBRT , "rt" #endif @@ -143,7 +142,7 @@ ld-options: * path. This is important to use the static gmp in preference on Mac OS. * The used option is specific to the Darwin linker. */ -#ifdef darwin_BUILD_OS +#ifdef darwin_HOST_OS , "-Wl,-search_paths_first" #endif