Enable -prof -threaded (#886)
[ghc-hetmet.git] / rts / package.conf.in
index d57ef62..f73e6b1 100644 (file)
@@ -56,6 +56,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
@@ -66,6 +69,7 @@ include-dirs:         INCLUDE_DIR GMP_INCLUDE_DIRS
 include-dirs:          FPTOOLS_TOP_ABS"/includes"
                        FPTOOLS_TOP_ABS"/rts"
                        FPTOOLS_TOP_ABS"/gmp/gmpbuild"
+                       GMP_INCLUDE_DIRS
 #endif
 
 includes:              Stg.h