diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-11-29 22:22:39 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-11-29 22:22:39 +0000 |
commit | 3005e90936c47c1f71672bf6c84fff20cb14014b (patch) | |
tree | fc2c6afe163460596b197665f68544de8c3ad044 /rts/package.conf.in | |
parent | bd9e029927b25274f574104d837de0028e45a3d6 (diff) | |
download | haskell-3005e90936c47c1f71672bf6c84fff20cb14014b.tar.gz |
Add configure option to use system provided libffi; fixes #5743
Based on patch from Peter Trommler:
From 293495d40f62e691520331a41c6d85d82e120169 Mon Sep 17 00:00:00 2001
From: Peter Trommler <ptrommler@acm.org>
Date: Sun, 21 Oct 2012 18:47:01 +0200
Subject: [PATCH] Add configure option to use system provided libffi This
fixes track # 5743 and #4496.
Diffstat (limited to 'rts/package.conf.in')
-rw-r--r-- | rts/package.conf.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in index 9fc87211f5..ee964db711 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -33,6 +33,9 @@ extra-libraries: #ifdef HAVE_LIBDL , "dl" #endif +#ifdef HAVE_LIBFFI + , "ffi" +#endif #ifdef mingw32_HOST_OS ,"wsock32" /* for the linker */ ,"gdi32" /* for the linker */ |