summaryrefslogtreecommitdiff
path: root/lang/guile16/patches/patch-ah
blob: 3145b417451ca9c41340906c6483a1a542125e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1.1.1 2007/06/04 23:38:40 dmcmahill Exp $

--- guile-config/guile-config.in.orig	Sun Dec  8 07:41:30 2002
+++ guile-config/guile-config.in
@@ -177,7 +177,7 @@
             (string=? libdir "/usr/lib/"))
         (display-separated (cons "-lguile -lguile-ltdl" other-flags))
         (display-separated (cons
-                            (string-append "-L" (get-build-info 'libdir))
+                            (string-append "-Wl,-R" (get-build-info 'libdir) " -L" (get-build-info 'libdir))
                             (cons "-lguile -lguile-ltdl" other-flags))))
     (newline)))