summaryrefslogtreecommitdiffstats
path: root/lang/ghc/files/patch-rts_package.conf.in
blob: de5040db75e7d5127dc3610bd235dcfe231a9500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./rts/package.conf.in.orig		2012-06-06 19:10:25.000000000 +0200
+++ ./rts/package.conf.in		2013-01-30 19:04:28.000000000 +0100
@@ -33,6 +33,9 @@
 #ifdef HAVE_LIBDL
 			      , "dl"
 #endif
+#ifdef HAVE_LIBFFI
+                              , "ffi"
+#endif
 #ifdef mingw32_HOST_OS
 			      ,"wsock32"	/* for the linker */
 #endif
@@ -138,6 +141,7 @@
 	 , "-u", "base_GHCziConcziSync_runSparks_closure"
 	 , "-u", "base_GHCziConcziSignal_runHandlers_closure"
 #endif
+        , "-L%%LOCALBASE%%/lib"
 
 /*  Pick up static libraries in preference over dynamic if in earlier search
  *  path.  This is important to use the static gmp in preference on Mac OS.
OpenPOWER on IntegriCloud