X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fpackage.conf.in;h=557bb99bfbe826f90a3cb627df38f748d656f835;hb=6c48b36634d407bffc72a764d302f54da6748824;hp=1642101ba0c4f80dc0eb2089d94ef2721f7a6e0c;hpb=fcf6b22d0478be20e27c2245f3e34dd272e12522;p=ghc-hetmet.git diff --git a/rts/package.conf.in b/rts/package.conf.in index 1642101..557bb99 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -15,21 +15,23 @@ hidden-modules: import-dirs: #ifdef INSTALLING -library-dirs: LIB_DIR GMP_LIB_DIRS +library-dirs: LIB_DIR GMP_LIB_DIRS PAPI_LIB_DIR # ifdef mingw32_HOST_OS , LIB_DIR"/gcc-lib" /* force the dist-provided gcc-lib/ into scope. */ # endif #else /* !INSTALLING */ -library-dirs: FPTOOLS_TOP_ABS"/rts" GMP_LIB_DIRS +library-dirs: FPTOOLS_TOP_ABS"/rts" GMP_LIB_DIRS PAPI_LIB_DIR # if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP) , FPTOOLS_TOP_ABS"/gmp" # endif + , FPTOOLS_TOP_ABS"/libffi" #endif hs-libraries: "HSrts" extra-libraries: "m" /* for ldexp() */ + , "ffi" #ifndef HAVE_FRAMEWORK_GMP , "gmp" #ifdef HAVE_LIBDL @@ -56,12 +58,9 @@ extra-libraries: "m" /* for ldexp() */ #if USE_PAPI , "papi" #endif -#ifdef USE_LIBFFI - , "ffi" -#endif #ifdef INSTALLING -include-dirs: INCLUDE_DIR GMP_INCLUDE_DIRS +include-dirs: INCLUDE_DIR GMP_INCLUDE_DIRS PAPI_INCLUDE_DIR # ifdef mingw32_HOST_OS , INCLUDE_DIR"/mingw" # endif