From owner-freebsd-ports Mon Aug 9 22:31:44 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 68B1C14D84 for ; Mon, 9 Aug 1999 22:31:41 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id AAA11969; Tue, 10 Aug 1999 00:31:26 -0500 (CDT) Date: Tue, 10 Aug 1999 00:31:26 -0500 (CDT) From: Steve Price To: reg@shale.csir.co.za Cc: freebsd-ports@freebsd.org Subject: 'libtool --mode=link ...' ignores -rpath Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jeremy, I've been working on updating the GNOME ports for PR ports/12781 and I'm having a bit of a problem that seems to be related to libtool. The scenario goes like this. When trying to link libglade-gnome.so from the libglade port, cc(1) needs to be called with '-Wl,--rpath -Wl,/usr/local/lib'. The link command in the Makefile looks like: libtool --mode=link cc ... -rpath /usr/local/lib So the port is trying to do the right thing. However for some reason libtool is not turning the '-rpath' into the proper linker directives like it does for binaries. Do you have any ideas how to fix this before I jump head first into the ~4000 lines of the libtool script looking for the problem? Thanks. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message