summaryrefslogtreecommitdiff
path: root/rts/package.conf.in
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-23 23:55:56 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-23 23:55:56 +0000
commitb30015e78db99d79cdb48c6c810e3fd49573c5cd (patch)
tree9af9da2639751ba9102486e51591d3501f8cbc27 /rts/package.conf.in
parentf4a2796d85c60ba7d0e3fbc1c5061b30bfb85ca6 (diff)
downloadhaskell-b30015e78db99d79cdb48c6c810e3fd49573c5cd.tar.gz
Change how we handle libffi
I think overall the new approach is simpler. Rather than unpacking the libffi.a and putting the .o files into our libHSrts.a, we just use the libffi.a. This change also means that when compiling programs for the dyn way, they get explicitly linked against libffi.so (rather than relying on librts.so being linked against it). This might fix a problem on FreeBSD, where programs cannot find libffi.so.
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r--rts/package.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 5a34576179..9aef05dbb5 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -21,7 +21,7 @@ library-dirs: LIB_DIR"/rts-1.0" PAPI_LIB_DIR
library-dirs: TOP"/rts/dist/build" PAPI_LIB_DIR
#endif
-hs-libraries: "HSrts"
+hs-libraries: "HSrts" FFI_LIB
extra-libraries:
#ifdef HAVE_LIBM