aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc/files/patch-rts_package.conf.in
blob: e3f4f73239eaafd82ff0403e0b7e77dfb78dbb74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

$FreeBSD$

--- rts/package.conf.in.orig
+++ rts/package.conf.in
@@ -31,9 +31,6 @@
 #ifdef HAVE_LIBM
                 		"m"		/* for ldexp() */
 #endif
-#ifdef HAVE_LIBRT
-			      , "rt"
-#endif
 #ifdef HAVE_LIBDL
 			      , "dl"
 #endif
@@ -141,6 +138,7 @@
 	 , "-u", "base_GHCziConc_runSparks_closure"
 	 , "-u", "base_GHCziConc_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.