summaryrefslogtreecommitdiff
path: root/rts/package.conf.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-03-11 17:50:25 +0000
committerIan Lynagh <igloo@earth.li>2007-03-11 17:50:25 +0000
commitca5ded310c0a596be199a3da5f14be2fb2020687 (patch)
tree40a62ff03dc093e157fbec315cef60be4fb78a66 /rts/package.conf.in
parent642ac8a05ea7f449c367cd4293b0e07ca3305fd8 (diff)
downloadhaskell-ca5ded310c0a596be199a3da5f14be2fb2020687.tar.gz
Have configure take arguments telling it where gmp is; fixes trac #957
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r--rts/package.conf.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 0ccdb3ca52..77fb192e82 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -15,13 +15,13 @@ hidden-modules:
import-dirs:
#ifdef INSTALLING
-library-dirs: LIB_DIR
+library-dirs: LIB_DIR GMP_LIB_DIRS
# 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"
+library-dirs: FPTOOLS_TOP_ABS"/rts" GMP_LIB_DIRS
# if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP)
, FPTOOLS_TOP_ABS"/rts/gmp"
# endif
@@ -58,7 +58,7 @@ extra-libraries: "m" /* for ldexp() */
#endif
#ifdef INSTALLING
-include-dirs: INCLUDE_DIR
+include-dirs: INCLUDE_DIR GMP_INCLUDE_DIRS
# ifdef mingw32_HOST_OS
, INCLUDE_DIR"/mingw"
# endif