From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: rpath handling in guile-config Date: Mon, 15 Nov 2004 20:38:29 -0500 Message-ID: <20041116013829.34F582069@fnord.ir.bbn.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100569132 32058 80.91.229.6 (16 Nov 2004 01:38:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 01:38:52 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 16 02:38:49 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTsIz-0001ml-00 for ; Tue, 16 Nov 2004 02:38:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTsRh-0001hj-VB for guile-devel@m.gmane.org; Mon, 15 Nov 2004 20:47:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTsRZ-0001fF-N7 for guile-devel@gnu.org; Mon, 15 Nov 2004 20:47:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTsRX-0001dH-SX for guile-devel@gnu.org; Mon, 15 Nov 2004 20:47:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTsRX-0001cG-BV for guile-devel@gnu.org; Mon, 15 Nov 2004 20:47:39 -0500 Original-Received: from [192.1.100.210] (helo=fnord.ir.bbn.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CTsIg-0006z4-6l for guile-devel@gnu.org; Mon, 15 Nov 2004 20:38:30 -0500 Original-Received: from fnord.ir.bbn.com (localhost [127.0.0.1]) by fnord.ir.bbn.com (Postfix) with ESMTP id 34F582069 for ; Mon, 15 Nov 2004 20:38:29 -0500 (EST) Original-To: guile-devel@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4397 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4397 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