Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0L0VDV69395 for ; Sun, 20 Jan 2002 19:31:13 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (root@rdu57-26-120.nc.rr.com [66.57.26.120]) by habanero.hesketh.net (8.11.6/8.11.1) with ESMTP id g0L0VAJ24401; Sun, 20 Jan 2002 19:31:10 -0500 X-Received-From: brent@mutt.rcfile.org X-Delivered-To: pgsql-hackers@postgresql.org X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org X-More-Information: http://spamfighter.hesketh.net Received: (from brent@localhost) by mutt.rcfile.org (8.11.6/8.11.6) id g0L0VLD12644; Sun, 20 Jan 2002 19:31:21 -0500 (EST) (envelope-from brent) Date: Sun, 20 Jan 2002 19:31:21 -0500 From: Brent Verner To: Tom Lane Cc: Peter Eisentraut , Murray Prior Hobbs , Lamar Owen , pgsql-hackers@postgresql.org Subject: Re: pltlc and pltlcu problems Message-ID: <20020120193121.A12590@rcfile.org> References: <6532.1011567127@sss.pgh.pa.us> <20020120190256.A12325@rcfile.org> <7032.1011572210@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7032.1011572210@sss.pgh.pa.us> User-Agent: Mutt/1.3.19i X-muttrc: $Id: .muttrc,v 1.9 2002/01/02 07:04:49 brent Exp $ X-uname: FreeBSD 4.5-RC #8: Sat Jan 19 03:37:04 EST 2002 brent@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTT X-Archive-Number: 200201/824 X-Sequence-Number: 17827 [2002-01-20 19:16] Tom Lane said: | Brent Verner writes: | > It seems that substvar operates on each " " separated token in the | > string. The following works for me. | | > override TCL_SHLIB_LD := $(shell echo $(TCL_SHLIB_LD) | sed 's/-Wl,-soname.*//') | | I suspect that the above works only because -Wl,-soname is the last | switch in TCL_SHLIB_LD; any following switches would be removed too. | Perhaps better | | override TCL_SHLIB_LD := $(shell echo $(TCL_SHLIB_LD) | sed 's/-Wl,-soname[^ ]*//' Yes, much better. cheers. brent -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman