pkgsrc/lang/guile/patches/patch-ah
uebayasi b04a3ffc47 Make 'guile-config link' report runtime path link command
(-Wl,-R${path_to_libguile}) too.  This has not turned to be obvious because
libguile happens to be put in a popular directory.

Bump revision to 1.
2003-01-17 04:52:30 +00:00

13 lines
603 B
Text

$NetBSD: patch-ah,v 1.1 2003/01/17 04:52:31 uebayasi 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)))