unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Greg Troxel <gdt@ir.bbn.com>
Subject: rpath handling in guile-config
Date: Mon, 15 Nov 2004 20:38:29 -0500	[thread overview]
Message-ID: <20041116013829.34F582069@fnord.ir.bbn.com> (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


             reply	other threads:[~2004-11-16  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  1:38 Greg Troxel [this message]
2004-11-19 23:28 ` rpath handling in guile-config Rob Browning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041116013829.34F582069@fnord.ir.bbn.com \
    --to=gdt@ir.bbn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).