summaryrefslogtreecommitdiff
path: root/lang/guile/patches/patch-ah
blob: 67a08e64b728e908d95cce82387be2154927a1d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ah,v 1.6 2008/12/15 15:26:47 gdt Exp $

--- guile-config/guile-config.in.orig	2008-12-04 13:30:41.000000000 -0500
+++ guile-config/guile-config.in
@@ -154,7 +154,8 @@
                (if (or (string=? libdir "/usr/lib")
                        (string=? libdir "/usr/lib/"))
 		   ""
-		   (string-append "-L" (get-build-info 'libdir)))
+		   (string-append "-L" (get-build-info 'libdir)
+				  " -Wl,-R" (get-build-info 'libdir)))
                "-lguile -lltdl"
 	       (string-join other-flags)