unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* rpath handling in guile-config
@ 2004-11-16  1:38 Greg Troxel
  2004-11-19 23:28 ` Rob Browning
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Troxel @ 2004-11-16  1:38 UTC (permalink / raw)


NetBSD pkgsrc applies this patch to get -R passed to the linker.  This
is needed because pkgsrc puts libs in /usr/pkg/lib and this is not in
the default search path.

I realize rpath is contorversial.  It would be nice to support each
os's way, though, but I don't have any non-kludgy ideas.

$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)))
 


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-19 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16  1:38 rpath handling in guile-config Greg Troxel
2004-11-19 23:28 ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).